Inputmask
Inputmask copied to clipboard
Missing documentation on "negationSymbol" option
I found how to do this, but I had to dig through the sources and do some google searches to find it.
The documentation is missing this parameter: "negationSymbol".
Please add documentation about negationSymbol so other users know it exists.
I figured it out using it this way:
Inputmask("decimal", {
radixPoint: ".",
groupSeparator: ",",
digits: 2,
autoGroup: true,
prefix: '$',
negationSymbol: { front: '(', back: ')' }
}).mask(".currency");