Open bdunkx opened 7 months ago
When using a kirby form field along with an input utilizing decimal mask, the cursor shifts infront of the comma when typing a double comma instead of an singular. So a user could happen to type a different number than expected.
The ',,' is not a typo but the reproduction of the error, as the cursor will then shift infront of the comma.
Kirby version 9, of some variant i suppose as it can be reproduced on Kirby's own website.
The expected behavior, would be such the cursor didn't shift. So decimals would be entered instead of increasing the number vastly.
https://github.com/kirbydesign/designsystem/assets/110385301/77124125-f605-49d0-9d07-755bef90d6be
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
The contributor who wants to implement this issue should:
Once the issue has been implemented and is ready for review:
Describe the bug
When using a kirby form field along with an input utilizing decimal mask, the cursor shifts infront of the comma when typing a double comma instead of an singular. So a user could happen to type a different number than expected.
Describe how to reproduce the bug
The ',,' is not a typo but the reproduction of the error, as the cursor will then shift infront of the comma.
Which Kirby version was used?
Kirby version 9, of some variant i suppose as it can be reproduced on Kirby's own website.
What was the expected behavior?
The expected behavior, would be such the cursor didn't shift. So decimals would be entered instead of increasing the number vastly.
Add any screenshots
https://github.com/kirbydesign/designsystem/assets/110385301/77124125-f605-49d0-9d07-755bef90d6be
Please complete the following information:
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is doneImplementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review: