Class SingleTextInputDialogProps

Hierarchy (view full)

Constructors

Properties

confirmButtonLabel?: string
initialSelectionRange?: {
    direction?: "none" | "forward" | "backward";
    end: number;
    start: number;
}

Type declaration

  • Optional direction?: "none" | "forward" | "backward"
  • end: number
  • start: number
initialValue?: string
maxWidth?: number

Determines the maximum width of the dialog in pixels. Default value is undefined, which would result in the css property 'max-width: none' being applied to the dialog.

placeholder?: string
title: string
validate?: ((input, mode) => MaybePromise<DialogError>)

Type declaration

wordWrap?: "initial" | "normal" | "inherit" | "break-word"

Determine the word wrapping behavior for content in the dialog.

  • normal: breaks words at allowed break points.
  • break-word: breaks otherwise unbreakable words.
  • initial: sets the property to it's default value.
  • inherit: inherit this property from it's parent element. Default value is undefined, which would result in the css property 'word-wrap' not being applied to the dialog.