Skip to content

fix(ui5-step-input): value with group separator is parsed correctly#13093

Open
GDamyanov wants to merge 1 commit intomainfrom
stepinput-group-separator
Open

fix(ui5-step-input): value with group separator is parsed correctly#13093
GDamyanov wants to merge 1 commit intomainfrom
stepinput-group-separator

Conversation

@GDamyanov
Copy link
Contributor

@GDamyanov GDamyanov commented Feb 16, 2026

This PR fixes an issue where ui5-step-input incorrectly parsed values when users typed group separators (thousand separators) manually. The component now correctly handles and removes group separators based on the current locale before parsing the numeric value.

Problem
When users typed values with group separators (e.g., "1,000" or "10,000"), the component's parsing logic didn't strip these separators before converting the string to a number. This caused incorrect value parsing and display issues.

For example, typing "1,0000" would not be properly formatted to "10,000" and the underlying value property would not be set correctly.

@ui5-webcomponents-bot
Copy link
Collaborator

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 16, 2026 12:48 Inactive
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.

2 participants