DataApp.number_input(title: Optional[str] = None, value: Optional[Union[int, float]] = None, default_value: Optional[Union[int, float]] = None, placeholder: Optional[str] = None, min: Optional[Union[int, float]] = None, max: Optional[Union[int, float]] = None, step: Optional[Union[int, float]] = None, text_style: Optional[dict] = None, units: Optional[str] = None, **additional) NumberInputWidget#

A basic widget for getting the user input as a number field. param title: String with the widget title. It will be placed on top of the widget box. param value: Define number value. param default_value: Default value for the widget. param placeholder: Text showed inside the widget by default. param min: Minimum value of the widget. param min: Maximum value of the widget. param step: The granularity the widget can step through values. Must greater than 0, and be divided by (max - min). param text_style: Dict to customize text: font size, font type y font style. param units: Specifies the format of the value presented, for example %, KWh, Kmh, etc. return Number Input.