IMask Number Editor
Renders a masked text input using IMask.js.
Activation Conditions
"type": "number""x-format": "imask"- IMask.js must be available (
window.IMask) - Plugin: IMask.js on GitHub
Plugin Options
Options can be passed to the plugin via "x-imask" keyword
Example
{
"title": "IMask Number",
"description": "IMask is vanilla javascript input mask.",
"type": "number",
"default": 0.5,
"x-format": "imask",
"x-imask": {
"thousandsSeparator": ".",
"radix": ",",
"scale": 2,
"padFractionalZeros": true,
"normalizeZeros": false,
"mapToRadix": [
"."
],
"autofix": "pad"
},
"x-info": {
"variant": "modal",
"title": "### Info Button title",
"content": "Info button content"
}
}