jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Fix masked setting. #23

Closed AndrolGenhald closed 3 years ago

AndrolGenhald commented 3 years ago

The masked setting was broken by 624ad7bc76ab93e1f4a44f9fddf8b21792a19480.

My understanding is that the masked setting has no effect on the directive and the input value will always be masked. On the component masked: true should work the same as the directive, and masked: false should show the mask on the input but the v-model binding should not have the mask.

jonathanpmartins commented 3 years ago

I briefly thought about this masked thing yesterday when working on the fix. I speed up the fix, ignoring the base feature, broken it. Sorry...