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

🐛 fix(number-input): Microsoft Edge and autofill #1538

Open
1 task done
lacigas opened this issue Dec 5, 2024 · 2 comments · May be fixed by #1558
Open
1 task done

🐛 fix(number-input): Microsoft Edge and autofill #1538

lacigas opened this issue Dec 5, 2024 · 2 comments · May be fixed by #1558
Assignees
Labels
🐛 bug Something isn't working
Milestone

Comments

@lacigas
Copy link

lacigas commented Dec 5, 2024

Question

We have an issue with a form field that has an 'amount' type.
We define it as <bal-number-input decimal="2" ....

When a user inputs 5000 and exits the field, then the number gets formatted as 5'000.00 , so far so good.
The next time when filling in the form, the user can choose the value from an autofill popup in the browser. The autofill enters
2'000.00 in the field but this is not a number and it is truncated to 2.00.

How do you deal with this situation? Turn off autofill? Don't use bal-number-input?

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@lacigas lacigas added the 💬 question Further information is requested label Dec 5, 2024
@lacigas lacigas changed the title 💬 question(component): Microsoft Edge and autofill Microsoft Edge and autofill Dec 5, 2024
@hirsch88 hirsch88 changed the title Microsoft Edge and autofill 🐛 Microsoft Edge and autofill Dec 5, 2024
@hirsch88 hirsch88 changed the title 🐛 Microsoft Edge and autofill 🐛 fix(number-input): Microsoft Edge and autofill Dec 5, 2024
@hirsch88 hirsch88 added 🐛 bug Something isn't working and removed 💬 question Further information is requested labels Dec 5, 2024
@hirsch88 hirsch88 added this to the ✏️ Forms milestone Dec 5, 2024
@yannickholzenkamp yannickholzenkamp self-assigned this Dec 19, 2024
@yannickholzenkamp
Copy link
Member

/cib

Copy link
Contributor

Branch fix/issue-1538 created!

github-actions bot added a commit that referenced this issue Dec 19, 2024
@github-actions github-actions bot linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants