Name | Type | Default | Description |
Disabled | bool | false | Enables or disables the element. |
InputPurpose | string | "off" | Sets the purpose of the input and what, if any, permission the user agent has to provide automated assistance in filling out the element's input when in a form, as well as guidance to the browser as to the type of information expected in the element. This value corresponds to the standard HTML autocomplete attribute and can be set to values such as 'on', 'name', 'organization', 'street-address', etc. |
Locale | string | "en" | Sets or gets the language. Used in conjunction with the property messages. |
Max | int | 9999999999 | Determines the max number that can be displayed inside the input. |
Messages | object | N/A | Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. |
Min | int | -9999999999 | Determines the min number that can be displayed inside the input. |
Name | string | "" | Sets or gets the name attribute for the element. Name is used when submiting data inside an HTML form. |
NumberFormat | object | N/A | Sets or gets the value format of the element. |
Placeholder | string | "" | Determines the placeholder of the input. |
Readonly | bool | false | Determines whether ot not the user can enter text inside the input. |
RightToLeft | bool | false | Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. |
Step | int | 1 | Sets or gets the incremental/decremental step for the value of the element. |
Theme | string | "" | Determines the theme for the element. Themes define the look of the elements. |
Unfocusable | bool | false | If is set to true, the element cannot be focused. |
Value | object | 0 | Sets or gets the value of the element. |
Name | Type | Arguments | Description |
GetFormattedValue | void | object value, object format | Returns the value in the desired format.Args: string value - The value to be formatted by the method. ,object format - The object that contains the formatting properties. The argument should contain Intl.NumberFormat valid properties. For example, { style: 'currency', currency: 'EUR' } |
GetFormattedValue | void | object value | Returns the value in the desired format. |
GetValue | void | N/A | Returns the number of the input. |
GetValueAsync() | Task<object> | 'N/A' | Gets the "Value" property as Task<object>. |
Refresh | void | 'N/A' | Refreshes the Blazor Component. Performs a layout of the HTML Elements and recalculates the measurements. |
Render | void | 'N/A' | Re-renders the Blazor Component. This method will make a full re-render. |
Select | void | N/A | Selects the text inside the input or if it is <b>readonly</b> then the element is focused. |
SetValue | void | object value | Sets the value of the input.Args: string value - The value to be set. |
SetValue | void | string value | Sets the value of the input.Args: string value - The value to be set. |
SetValue | void | int value | Sets the value of the input.Args: int value - The value to be set. |
StateHasChanged | void | 'N/A' | Refreshes the state and Re-renders the Blazor Component, if necessary. |