microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
17.75k stars 2.65k forks source link

[Feature]: Allow binding to different Cultures for NumberField #31256

Open MarvinKlein1508 opened 2 weeks ago

MarvinKlein1508 commented 2 weeks ago

Library

Web Components (@fluentui/web-components)

Describe the feature that you would like added

In some countries decimals are separated with a different symbol besides . for example in Germany we use ,. The NumberField only allows to enter decimals with . though and not with other symbols for other CultureInfos. This makes it much harder for users to use the component when they type numbers with the numpad for example.

I've requested this for the Blazor components here: https://github.com/microsoft/fluentui-blazor/issues/1942

And this does not seem to be supported by the underlying input type. So I suggest some changes here.

Have you discussed this feature with our team

vnbaaij

Additional context

No response

Validations

Priority

Normal