Allow user to completely empty a field when persistent is false #18

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

When using persistent=false, and using a pattern that starts with a formatted characters, for example ({{999}}), the user is not able to completely empty the field; there will always be a character left in there.
This makes it complicated to validate posted values, as we would need to treat "(" the same as an empty field.
This change will allow the user to remove this last character.

Owner

I agree that this is not the desired output, however, I believe this is the result of a larger issue regarding undesired formatted chars being added when deleting chars with the opt persistent=false. Thank you. This will be resolved in the next push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment