Optional
ignoreSet to true
to keep the input box open when focus moves to another part of the editor or to another window.
Optional
passwordSet to true
to show a password prompt that will not show the typed value.
Optional
placeAn optional string to show as place holder in the input box to guide the user what to type.
Optional
promptThe text to display underneath the input box.
Optional
titleAn optional string that represents the title of the input box.
Optional
valueThe value to prefill in the input box.
Optional
valueSelection of the prefilled value
. Defined as tuple of two number where the
first is the inclusive start index and the second the exclusive end index. When undefined
the whole
word will be selected, when empty (start equals end) only the cursor will be set,
otherwise the defined range will be selected.
Optional
onOptional
validateAn optional function that will be called to validate input and to give a hint to the user.
The current value of the input box.
Either a human-readable string which is presented as an error message or an InputBoxValidationMessage
which can provide a specific message severity. Return undefined
, null
, or the empty string when 'value' is valid.
Options to configure the behavior of the input box UI.