vuejs-tips / vue-the-mask

Tiny (<2k gzipped) and dependency free mask input for Vue.js
https://vuejs-tips.github.io/vue-the-mask/
1.72k stars 212 forks source link

Make the input picking smarter #175

Closed farhadnowzari closed 3 years ago

farhadnowzari commented 3 years ago

Hi, thanks for the great job.

It would be nice if we could make the following line a bit smarter or at lease on directive config add the option so we could config it.

For example when it is used with vuetify comboboxes, there it detects more than one input. we can maybe get the first not hidden input in the following line. so there is more chance that it is available and the condition is valid. https://github.com/vuejs-tips/vue-the-mask/blob/c13bbeec24c98f2413fc316a524c32381a335fb1/src/directive.js#L20