Inputmask
Inputmask copied to clipboard
Censoring or Partially Censoring Input on Blur
Hi, question:
I have a social security input field. The client wants everything but the last four numbers hidden on blur, or possibly on some other event, just as long as it happens.
Use scenario:
- I have a mask of "999-99-9999"
- User types SSN
- On blur, I want to show literal stars replacing the value:
***-**-1234
- The user can click back into the field and the stars will be replaced with their actual typed value.
I checked the issues and docs and didn't see a way to automatically do this, could I get some guidance on if this is possible?
@jamesrwaugh is there any update on it?