Draft
Conversation
…Max parameters for value constraints
…rs, and step functionality; add CSS for numeric input styling
…entNumber component
…ng for decimal precision
…t default max to positive infinity
…amples and culture settings
Unit Tests
Details on your Workflow / Core Tests page. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[dev-v5] FluentNumber
The FluentNumber component enables a user to enter and edit numeric values.
It supports both integer and decimal numbers, with configurable
Min,Max, andStepconstraints.Value can be one of the following Numeric Types:
byte,sbyte,short,ushort,int,uint,long,ulong,float,double,decimal.Use the
StepButtonsparameter to control the visibility of the up/down step buttons.It accepts a
NumberStepVisibilityvalue:Culture and Decimal Separator
Use the
Cultureparameter to control how numbers are formatted and parsed, including the decimal separator, group separator, and number of decimal digits. By default, the component uses theFluentNumberCultureInfoclass (dot.as decimal separator). You can pass anyCultureInfoinstance (e.g.fr,de,ja) to match the user's locale.peek_1.mp4
TODO
<input valuemust be InvariantCulture