PacemInputNumberElement is the suggested webcomponent for numeric (plain, w/ unit, currency, ...) editing.
PacemInputNumberElement edited value can be formatted given straight attribute or relevant metadata.
Mouse-wheel functionality is disabled by default when form is autogenerated.
[ {"prop": "amount", "type": "float", "display": { "name": "Progress", "format": { "style": "percent", "maximumFractionDigits": 2, "minimumFractionDigits": 2 } }, "extra": { "step": 0.005, "preventWheel": false }, "validators": [{ "type": "range", "errorMessage": "Nope, you can't", "params": { "min": 0, "max": 1 } }] } ]
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.