diff --git a/BlazorFluentUI/Components/Pages/FormInputs/FormInputNumberField.razor b/BlazorFluentUI/Components/Pages/FormInputs/FormInputNumberField.razor index b187d59..e5d83a4 100644 --- a/BlazorFluentUI/Components/Pages/FormInputs/FormInputNumberField.razor +++ b/BlazorFluentUI/Components/Pages/FormInputs/FormInputNumberField.razor @@ -44,9 +44,105 @@

+Types + +

+ Long
+ Example long: @exampleLong +
+ Minimum value: -999999999999, Maximum value: 999999999999 +

+

+ Short +
+ Minimum value: @(short.MinValue), Maximum value: @(short.MaxValue) +

+ +

+ Float
+ Example float: @exampleFloat +
+ Minimum value: @(float.MinValue), Maximum value: @(float.MaxValue) +

+

+ Float
+ Example float: @exampleFloat (step=0.25) +
+ Minimum value: @(float.MinValue), Maximum value: @(float.MaxValue) +

+

+ Double
+ Example double: @exampleDouble +
+ Minimum value: @(double.MinValue), Maximum value: @(double.MaxValue) +

+

+ Decimal
+ Example decimal: @exampleDecimal +
+ Minimum value: @(decimal.MinValue), Maximum value: @(decimal.MaxValue) +

+
+ +Displays + +

Full Width

+ + +

Placeholder

+ + +

Hide Up/Down steps

+ + +

Required

+ + +

Disabled

+ + + + +

Read Only

+ + + +

Icons

+ + + + + + + + + + +
+ +Focus + +

Focus Async

+

+ + FocusAsync +

+
+ @code { int exampleInt { get; set; } = 123; int? exampleNullableInt = null; int exampleInt2 = 345; int? exampleNullableInt2 = null; + + short shortMin = short.MinValue; + long exampleLong { get; set; } = 999999999999; + float exampleFloat { get; set; } = 123.45f; + double exampleDouble { get; set; } = 456.32d; + decimal exampleDecimal { get; set; } = Decimal.One / 3; + + int? value1, value2, value3, value4, value5, value6, value7, value8 = 1, value9 = 2; + + FluentNumberField? focusTest; + int? value; }