Skip to content

🐛 fix(number-input): on Input omits decimal when french number format is used #1695

@GinaBiondo-aperto

Description

@GinaBiondo-aperto

Current Behavior

When using the number input with the french formatting (comma for a decimal), the return value of the balInput event misses the decimals. Meaning 1,5 only returns 1.
German and english number formats seem to be fine and the balChange event returns the correct value as well.

Expected Behavior

the component should always return the correct value.

Steps to Reproduce

  1. use bal-number-input with decimals enabled within french locale setup

Version

18.2.0

Browsers

Firefox, Chrome, Safari

Device

Mobile, Tablet, Desktop

Code Reproduction URL

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions