Search.../

numberSpinnerHidden

Indicates if the number spinner is hidden or visible for a numeric text input element.

Description

If numberSpinnerHidden is true, and the inputType is 'number', the number spinner for the text input element is not shown. Use hideNumberSpinner() to hide the number spinner and showNumberSpinner() to show it.

The spinner allows site visitors to increment and decrement the numeric value of the text input.
Input Settings pane

Type:

booleanRead Only, default value is false

Was this helpful?

Check if a text input's number spinner is hidden

Copy Code
1let isHidden = $w('#myTextInput').numberSpinnerHidden; // false
Toggle an text input's number spinner hidden state

Copy Code
1if ($w('#myTextInput').numberSpinnerHidden) {
2 $w('#myTextInput').showNumberSpinner();
3}
4else {
5 $w('#myTextInput').hideNumberSpinner();
6}