[Vuejs]-Vue JS Disable Button aria-disable

0👍

For anyone using Laravel, Vue JS and boolean’s. The boolean needs to be JSON encoded to pass to vue.

Changing the view to

<sync-button :active="{{ json_encode($buttonState) }}"></sync-button>

fixed the error.

Leave a comment