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

Select text in input on focus has unexpected results #363

Closed
tspayne87 opened this issue Jun 5, 2018 · 1 comment
Closed

Select text in input on focus has unexpected results #363

tspayne87 opened this issue Jun 5, 2018 · 1 comment

Comments

@tspayne87
Copy link

To reproduce the error or describe your requirement with a jsfiddle url would be appreciated:
https://jsfiddle.net/mkv7d9wa/1/

I am attempting to select the full text when the element is focused and seems to work good except for a value of 1 element the fiddle adds '$ ' space to the field and when I add a number that would make it '$ 4' and click out and click back into the element it flashes with the select and than clears it out. It does not do this when a prefix is not present and it does not do it if there are 2 more more elements in the field for example '$ 444' works and '$ 44' works as expected. I am not sure if this is a bug or not.

@nosir
Copy link
Owner

nosir commented Mar 12, 2020

@nosir nosir closed this as completed Mar 12, 2020
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