Number Input
The Number Input component allows users to enter numeric values. It can be used as a standalone component or in form fields. In this document, we'll go through all the configuration options for the Number Input component.
Properties
Property | Description | Expected Value |
---|---|---|
Label | Text to display as the label for the field. | String (e.g., Age ). |
Placeholder | A hint displayed to guide the user on what to enter. | String (e.g., John Doe ). |
Default value | The default value that the component will hold when the app is loaded. | String (e.g., Default Text ). |
Decimal places | Specifies the number of decimal places for numerical values. | Integer (e.g., 2 ). |