Input Box

This element has a large number of configurable properties. If a property has a default value then you do not need to provide it in the propertyPanel.json file unless you want to specify a value different to the default.

Configurable properties

chevron-rightbindingPropertyNamehashtag

string - the property name from defaultState with which to connect to.

mandatory

chevron-rightlabelNamehashtag

string - the text to display above the input box as a title

mandatory

chevron-rightshortPropertyNamehashtag

string - the text to display inside and on the right of the text input box.

defaults to an empty string

chevron-rightdisabledhashtag

bool - if set to true this will disable the input box for interaction

defaults to false

chevron-righttypehashtag

string ( Text | Integer | Decimal | Currency | Percent | Password | URL )

defaults to Text

chevron-rightminhashtag

number - the minimum value allowed to be entered

For Integer, Decimal, Currency and Percent types

defaults to 0

chevron-rightmaxhashtag

number - the maximum value allowed to be entered

For Integer, Decimal, Currency and Percent types

defaults to 0

chevron-rightstephashtag

number - the size of increments a number increases in when using allowCounter

For Integer, Decimal, Currency and Percent types

defaults to 0

chevron-rightallowBindinghashtag

bool - specifies whether you want the input field to be bindable or not

defaults to true

chevron-rightallowManualEntryhashtag

bool - specifies whether you want people to be able to type values into the input box

defaults to true

chevron-rightallowCounterhashtag

bool - specifies whether to add up and down stepper arrows to the input box

For Integer, Decimal, Currency and Percent types

defaults to false

chevron-rightspellcheckhashtag

bool - specifies whether you want the browser to highlight incorrect spelling in text within the text input box

defaults to true

chevron-rightplaceholderhashtag

string - what placeholder text to display in the empty input box

defaults to empty string

chevron-righttextAreahashtag

bool - specifies whether the input box is a single line text input, or a multi-line text area input

defaults to false

chevron-righttextAreaRowshashtag

number - specifies how many rows tall to make the text area input

defaults to 5

chevron-rightliveUpdatehashtag

bool - specifies whether you want each key press in the input box to trigger an update in state. Note this will trigger communication to the addon for each key press

defaults to false

Last updated

Was this helpful?