Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent users from editing "formatting characters" #287

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

prevent users from editing "formatting characters" #287

wants to merge 2 commits into from

Conversation

sumanthratna
Copy link

Before this edit, viewers of the page could backspace the "1+" and type more than the allowed characters (according to the format specified) and then the JS would retype/delete the text to make it comply with the format. This edit prevents the user from editing the format in the first place, allowing for a cleaner UI.

for example, disallows deleting the "1+ " in the "+1 (ddd) ddd-dddd" format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant