Stay organized with collections Save and categorize content based on your preferences.

A textbox that enables the user to input text information.

ui.Textbox(placeholder, value, onChange, disabled, style)ui.Textbox
placeholderString, optionalThe placeholder text to display when the textbox is empty. Defaults to none.
valueString, optionalThe textbox's value. Defaults to none.
onChangeFunction, optionalThe callback to fire when the text changes. The callback is passed the text currently in the textbox and the textbox widget.
disabledBoolean, optionalWhether the textbox is disabled. Defaults to false.
styleObject, optionalAn object of allowed CSS styles with their values to be set for this widget. See style() documentation.