[Vuejs]-I can't set "disabled" parameter in Vue to be persistent

0👍

The actual problem is in naming things.Try to avoid to use same naming for the props that you pass to child component and data properties that you’ve declared in child component.

To get this working as expected, you should just remove the prop declaration for disabled prop and It should work.

http://jsfiddle.net/9debdkh1/

Leave a comment