OptionalautoQuery selector for the element to focus on show.
OptionalcancelThe cancel option (Esc key), matched against the options by identity. Gets special styling.
OptionalcontextOptionaldefaultThe option that is the default (Enter key), matched against the options by identity
(a string matches an option's id/string form, an InputOption matches by reference).
OptionaldescriptionDisplay text information for the user to make a decision.
OptionaldisableIf true the window will not be automatically destroyed when closed.
OptionaliconAn icon beside the description, in place of the one type implies. A string is an icon
key.
OptionalinitialA value the window can use to display.
OptionalinputOptionalinputOptionalinputOptionalisIf true show a backdrop.
OptionalonOptionalonAllow for tracking of key down events.
OptionalonCall when an option is selected. option is the selected option's IDENTITY (its id if provided,
else the string form, else the InputOption object).
OptionalonValidates the current input. Returning { valid: false } keeps the dialog open and shows
message under the field.
Called in two situations, told apart by option:
option is undefined — the user typed. Fires on every keystroke, so this path must stay
cheap (a format/duplicate-name check).option is set — the user submitted. This is where expensive work belongs (a network
round-trip, a password derivation); it is awaited, and the activated button shows a spinner
while it runs.An expensive validator MUST therefore branch on option — otherwise it runs once per keystroke.
OptionalonCall when an option is selected. If false is returned, the dialog will not close. INotifier is not
provided but can be supplied via the textFieldProps helperText property. option is the selected
option's identity (see onOption).
OptionaloptionsThe dialog buttons: plain identity strings or rich InputOptions (mixable).
OptionalprewarmMount the window hidden (do not reveal it) so a later real open is an instant reuse. Implies disableAutoDestroy (a prewarmed window must be kept alive). Use at idle to move the heavy first-mount cost off the user's open. A no-op if an instance already exists.
OptionalpropsCss style for input
OptionaltitleThe title of the options panel
OptionaltypeWhat kind of message this is. info, warning, error and success show the matching icon
beside the description; default (or omitted) shows none.
Configuration for an options dialog.