vue-form-generator
vue-form-generator copied to clipboard
[Custom Field] VfgTheMask - Masked input using Vue The Mask
As suggested by Custom Fields docs, I'm providing a new custom field we've created here at NOALVO: https://github.com/NOALVO/vfg-the-mask
It uses Vue The Mask and apply a mask to the input. It needs a schema
property named mask
. Example:
{
model: 'mydate',
type: 'vfg-the-mask',
mask: '##/##/####'
}
@ggondim Isn't this custom field similar to the existing cleave
field? https://vue-generators.gitbook.io/vue-generators/fields/optional_fields/cleave
@muschottkey it is, but he’s providing it as an alternative third party field.
If your project already relies on mask, installing cleave as an added dependency doesn’t make sense.