Closed
Description
I have this code in my validation config (using the jsconf
module):
validate: {
...
'#income': {
validation: 'number',
'sanitize': 'numberFormat',
'sanitize-number-format': '0,0.00'
},
...
}
then I get this attributes
input id="income" name="income" type="text" class="form-control valid" value="10000" data-validation="number" data-validation-sanitize="numberFormat" data-validation-sanitize-number-format="0,0.00"
instead of
input id="income" name="income" type="text" class="form-control valid" value="10000" data-validation="number" data-sanitize="numberFormat" data-sanitize-number-format="0,0.00"