Skip to content
Discussion options

You must be logged in to vote

I found a workaround and I think is not an elegant solution, but it works.
Before assigning the values to the model I assign them to a temp variable.
I make the evaluation of the values that will define the mask and set the mask.
After that I assign the temp variable to the model and it fills the form correctly.
I got a 2019 topic from s.molinari that suggests the mask should be set before data model (that topic was about typing on an input)

          <q-input
            class="col-xs-8 col-sm-4 col-md-3 q-px-xs"
            input-class="texto_azul"
            dense
            hide-bottom-space
            v-model="lclIndividuo.num_doc_pessoa"
            label="Num. Documento"
       …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pedroprt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant