-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Labels
v5For the next major versionFor the next major version
Milestone
Description
FluentNumberField is deprecated and won't be in v5 anymore. We now suggest the user to use FluentTextInput as a replacement which is pretty hard because you can't bind anything else besides a string to this component.
We should add some sort of wrapper component for FluentTextInput to v5 which allows binding to different number types. The parsing can be taken from the official InputNumber component in Blazor.
https://github.com/dotnet/aspnetcore/blob/main/src/Components/Web/src/Forms/InputNumber.cs
This will make it easier for devs to migrate to v5 because otherwise the dev has to todo the following:
- Create a string field which he can bind to
- Do the parsing himself
- Apply the parsed value from the string to his actual object
FluentTextInput already allows to define Type="TextInputType.Number.
This will mimic the UI to be a bit more FluentUI.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
v5For the next major versionFor the next major version