A native numeric
<input> component built around the
Being built around native
type="number" input element, the
comes with a few limitations that you must be aware of. First and foremost, the input display format is fully
controlled by the browser and the system locale. This means that for you to change the input format you would
need to change the browser settings.
<NumericEdit> to have a field for any kind of numeric values.
All basic types are supported, including nullable types
<NumericEdit Value="123" />
NumericEditis a generic component you will have to specify the exact data type for the value. Most of the time it will be recognized automatically when you set the
Valueattribute, but if not you will just use the
TValueattribute and define the type manually eg.
<NumericEdit TValue="decimal?" />
NumericEdit is just a specialized version of
TextEdit component so all of the rules and styles are still working
all the same. See TextEdit to find the list of supported attributes.
||Generic type parameter used for the value attribute.||
||Gets or sets the value inside the input field.||
||Occurs after the value has changed.||
||Specifies the interval between valid values.||
||Helps define the localization of an element (used for parsing of the value).||
||The minimum value to accept for this input.||
||The maximum value to accept for this input.||
||Set’s the focus to the component after the rendering is done.||