I'm using a date format, which naturally only allows numbers. I set up some shortcuts on such fields where 'd' or 't' defaults to current datetime, and 'c' clears back to null.
When clearing via .val(null)
or val('')
, the text box ends up completely empty - the inputmask plugin doesn't automatically replenish the mask.
This is likely a bug, but I would like a workaround.