Form input masking library?

Hi there,

is there a suggested input masking library to use with F7?
Pure HTML5 input validation is not enough in my case (eg. I need to prevent entering ‘.’ or ‘,’ character to numeric input field). I’m on F7-vue v3 and tried v-mask lib, but it’s too restrictive for me.

Thanks in advance,
Bálint

Haven’t used such for a while. But a long time ago i used this one https://github.com/digitalBush/jquery.maskedinput, it is a jQuery plugin, but i think it can be adopted for Dom7

Thanks, Vladimir! JQuery.maskedinput leads to cleave.js (and vue-cleave) which seem to be perfect in my case.

1 Like

how to use this inside a template ? i use cleave but it not function inside a component

Take a look at vue-cleave-component.