1

I cant figure how to according to @{{published}} Vue.js value to check or uncheck a Checkbox, because @{{published ==1? ... }} doesnt work.

A solution which I would implement is to translate at the server side if published = 1 then convert to 'checked' and then remake the object array and then send it to the view, but Im looking for a straightforward answer..

1 Answer 1

2

v-model="published"

http://vuejs.org/guide/forms.html. not read the docs

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.