[InputMask React] When using Delete key text value is not cleared
Forge component by João Barata
Application Type

I have an input field that is masked with a pattern of "(999) 999-9999" for a telephone number entry.   The mask itself works great, but I find that if I highlight the entered value and press the delete key, the value remains the same even though the UI shows a blank input.

Any work around for this?

Please see the attached OML, you will see that when the variable is populated on screen load the delete function does not work.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.