Answer the question
In order to leave comments, you need to log in
How to sync boolean c back in vue?
A field in a table is of boolean type. Value 0.
Form in Vue - dropdown - value false
And they are not synchronized. I need to display field data where value is false, but he does not want to set it automatically, because false is waiting there, and I get 0. Is there a way to set false or only 0/1?
Answer the question
In order to leave comments, you need to log in
You can also convert 0/1 to false/true:
Boolean(0) // false
Boolean(1) // true
there waiting for false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question