Search Docs
Loading...
Skip to content

Interface: PromptInputOptions

Represents options for a prompt input.

The PromptInputOptions interface provides a set of properties that control the behavior and appearance of a prompt input. These options include settings for the input label, value, value setter, disabled state, placeholder, suffix and attachments.

Extends#

Properties#

Property Type Description Inherited from
inputLabel? string string[] -
inputLabelPosition? "top" - InputOptions.inputLabelPosition
value string - InputOptions.value
setValue (value) => void - InputOptions.setValue
isDisabled? boolean - InputOptions.isDisabled
suffix? Suffix - InputOptions.suffix
placeholder? string string[] -
attachments? PromptInputAttachmentsOptions Leave it out for a prompt with no attachments. The row that holds the add button and the attachments is then absent, not empty. -