Created
October 26, 2021 08:16
-
-
Save ozknozsrt/6cae8dd173ed6aa4b22bd7bee535e8e7 to your computer and use it in GitHub Desktop.
inputmask decimal options like for currency "100.000.000,00"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(input).inputmask({ | |
'alias': 'decimal', | |
'radixPoint': ',', | |
'groupSeparator': '.', | |
'autoGroup': true, | |
'rightAlign': false, | |
'digits': 2, | |
'suffix': ` ${bnvst.options.selectedCurrencySymbol}`, | |
'digitsOptional': false, | |
'placeholder': '0,00', | |
'autoUnmask': true | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment