Maybe below problems of v-model
has solutions, but I have not see the appropriate documentation.
- "Chaining" the v-model: e. g. we want custom component has the
v-model
, and thisv-model
is related with child<input>
's element'sv-model
. - Using the objects (including arrays which is the particular case of ECMAScript's
object
) asv-model
. - Modifying data: e. g. users inputs only digits, but the value which component emits is comma separated number (for the instance, iser's input: "4545667", emitted value: "4,545,667")
The first question in my research: what v-model can not do?
See Question&Answers more detail:os