How to use mask in vuetify text-field?

后端 未结 2 1206
攒了一身酷
攒了一身酷 2021-01-04 00:51

I\'m trying to use the mask property of text-field component, like the example below. In the view, that works like a charm, but, when the form is posted, the mask format doe

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-04 01:31

    In Vuetify 2 masks have been removed


    Answer for Vuetify versions < 2.0.0

    You can use return-masked-value prop

    
    

    Note that currently in v0.17 there is a bug with returning unmasked initial value.

提交回复
热议问题