Allow padding the decimal places with zeros.
A map with all behaviors that were defined for this widget. The key is the name of the behavior, the value is the callback function that is invoked when the behavior is called.
Determine where should be positioned the caret on focus
Determine if a local list of AutoNumeric objects must be kept when initializing the elements and others
Currency symbol
Placement of the currency sign, relative to the number (as a prefix or a suffix)
Decimal separator character
Allow to declare alternative decimal separator which is automatically replaced by the real decimal character
Defines the default number of decimal places to show on the formatted value, and to keep as the precision for the rawValue 0 or positive integer
Defines how many decimal places should be kept for the raw value.
The number of decimal places to show when unfocused
The number of decimal places to show when focused
Helper option for ASP.NET postback This should be set as the value of the unformatted default value examples: no default value="" {defaultValueOverride: ""} value=1234.56 {defaultValueOverride: '1234.56'}
Thousand separator character
Digital grouping for the thousand separator
Whether this widget is initially disabled.
Define the number that will divide the current value shown when unfocused
ID of the form to use for AJAX requests.
The client-side ID of the widget, with all parent naming containers, such as
myForm:myWidget
. This is also the ID of the container HTML element for this widget. In case the widget needs
multiple container elements (such as Paginator), this may also be an array if IDs.
Determine if the element value can be incremented / decremented with the mouse wheel.
Placement of negative/positive sign relative to the currency symbol (possible options are l (left), r (right), p (prefix) and s (suffix))
Always undefined.
An optional callback that is invoked
after this widget was created successfully, at the end of the init method. This is
usually specified via the widgetPostConstruct
attribute on the JSF component. Note that this is also called
during a refresh
(AJAX update).
An optional callback that is invoked after
this widget was refreshed after an AJAX update, at the end of the refresh method.
This is usually specified via the widgetPostRefresh
attribute on the JSF component.
An optional callback that is invoked before
this widget is about to be destroyed, e.g. when the component was removed at the end of an AJAX update. This is
called at the beginning of the destroy method. This is usually specified via the
widgetPreDestroy
attribute on the JSF component.
The initial, numerical value that is displayed, such as 0.0
or 5.3
.
The name of the widget variables of this widget. The widget variable can be used to
access a widget instance by calling PF("myWidgetVar")
.
Generated using TypeDoc
The configuration for the InputNumber widget. You can access this configuration via BaseWidget.cfg. Please note that this configuration is usually meant to be read-only and should not be modified.