Skip to content

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

Merged
GDamyanov merged 6 commits intomainfrom
stepinput-group-separator
Mar 9, 2026
Merged

fix(ui5-step-input): value with group separator is parsed correctly#13093
GDamyanov merged 6 commits 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 commented Feb 16, 2026

🧹 Preview deployment cleaned up: https://pr-13093--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 16, 2026 12:48 Inactive
@github-actions github-actions bot added the Stale label Mar 3, 2026
@GDamyanov GDamyanov requested a review from NHristov-sap March 5, 2026 08:17
@github-actions github-actions bot removed the Stale label Mar 6, 2026
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 08:04 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 12:23 Inactive
@GDamyanov GDamyanov requested a review from tsanislavgatev March 6, 2026 13:58
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 14:06 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 6, 2026 14:31 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 9, 2026 14:26 Inactive
@GDamyanov GDamyanov merged commit 46a15b3 into main Mar 9, 2026
21 of 22 checks passed
@GDamyanov GDamyanov deleted the stepinput-group-separator branch March 9, 2026 14:37
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview March 9, 2026 14:37 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.

4 participants