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

Feature request: Letters to numbers in add-a-number #11

Open
Jonty opened this issue May 7, 2024 · 3 comments
Open

Feature request: Letters to numbers in add-a-number #11

Jonty opened this issue May 7, 2024 · 3 comments

Comments

@Jonty
Copy link
Member

Jonty commented May 7, 2024

I would absolutely love to be able to type in JONT in the number registration and have it automatically converted to 5668. I have wanted this in all the DECT things forever.

Please, grant my wish phone santa.

@sammachin
Copy link
Contributor

seems like the sort of thing some client side JS could do on the input field, if you type a letter it converts it to the relevent number...

@sammachin
Copy link
Contributor

Basically this?
https://jsfiddle.net/sammachin/qm50ph48

@sammachin
Copy link
Contributor

there's the alphanum branch which has this code in, however it uses the same event as the number validation so I've put it all in one funciton, but it doesn't seem to play nice on iOS safari, would like a few more eyes on it before pushing this change

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

No branches or pull requests

2 participants