Number Input

This widget can be used when the user wants to capture number input, it allows only numerical strings. It can be used within a form or can be used as a standalone component.

Basic

Default Value

Enter the default string to be displayed when the widget is loaded. This can also be retrieved from the backend using query or loaded using low-code.

Placeholder

Specifies a hint that describes the expected value. The placeholder shows the hint text in the widget when nothing is selected or entered. This text disappears as soon as a value is entered in the control.

Format

Validation

Required Field

Refers to the field that must be completed by the user, which means the field must be entered with a valid value before submitting the information.

Minimum

The number value entered here acts as the validation for the minimum number for the field. Users cannot enter any value below this.

Maximum

The number value entered here acts as the validation for the maximum number for the field. Users cannot enter any value higher.

Custom Rule

Apart from validating the entry using the regex rule, users can also use this property to write low-code and check other aspects. For example - check if the city selected in the previous field matches the desired value, throw a custom message to the user even before capturing the entry on this field.

Interaction

Event Handlers

Disabled

Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied. Shows a red-crossed warning symbol and can be customized to disable the widget according to certain conditions using low-code.

Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Loading

It will be useful when there is a process to be carried out, like running a query to fetch data, before the widget is loaded. The loading boolean value can be utilized to show the spinner till the process is complete.

Label

Represents the caption for the widget in the user interface. It is recommended to keep the label string short and convey the usage of the widget in the UI

Tooltip

This tooltip pops up when the user moves the mouse over the label area of the widget. This is commonly used to provide some extra or important information to the user on the usage of the widget.

The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.

Position

Alignment

Width

Enter a number value to set the width of the widget. It can be set in terms of pixels and percentage.

Layout

Widget Tooltip

This tooltip pops up when the user moves the mouse over the input area of the widget. It is commonly used to hint at the type of input the user needs to provide.

The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.

Height

Advanced

Step

The value must be greater than 0. When the user clicks the up/down buttons at the end of the widget, this number will be increased/decreased to the current number.

Precision

This decides the floating-point precision for the number entered on the widget. If the user enters '2' in the property, then the decimal precision is set to 2 digits.

Prefix Icon

Choose one from the set of icons that will be displayed as a prefix logo, just before the button text.

Allow Null Value

This allows the NULL value to be accepted as a value. This is usually related to development requirements and not necessarily enabled for common use cases.

Show Thousands Separator

Enables the comma character separator to split and group the number for easy understanding.

Show Increment/Decrement Buttons

Displays the UP and Down arrow buttons on the right end of the widget, for users to click the button to increase and decrease the current input respectively.

Read Only

Disables the user entry on the widget, it will be set as read only component. Commonly used to show numbers fetched from backend but to deny user keyboard interaction.

Style

Last updated