Interface IIgrTextareaProps

Hierarchy

Hierarchy

  • IIgrTextareaProps

Properties

autocapitalize?: string | TextareaAutocapitalize

Controls whether and how text input is automatically capitalized as it is entered/edited by the user. MDN documentation.

autocomplete?: string

Specifies what if any permission the browser has to provide for automated assistance in filling out form field values, as well as guidance to the browser as to the type of information expected in the field. Refer to this page for additional information.

blur?: ((s, e) => void)

Type declaration

change?: ((s, e) => void)

Type declaration

children?: ReactNode
className?: string
disabled?: string | boolean

The disabled state of the component

focus?: ((s, e) => void)

Type declaration

id?: string
input?: ((s, e) => void)

Type declaration

inputMode?: string | TextareaInputMode

Hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard. MDN documentation

invalid?: string | boolean

Control the validity of the control.

label?: string

The label for the control.

maxLength?: string | number

The maximum number of characters (UTF-16 code units) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters.

minLength?: string | number

The minimum number of characters (UTF-16 code units) required that the user should enter.

name?: string

The name attribute of the control.

outlined?: string | boolean

Whether the control will have outlined appearance.

placeholder?: string

The placeholder attribute of the control.

readOnly?: string | boolean

Makes the control a readonly field.

required?: string | boolean

Makes the control a required field in a form context.

resize?: string | TextareaResize

Controls whether the control can be resized. When auto is set, the control will try to expand and fit its content.

rows?: string | number

The number of visible text lines for the control. If it is specified, it must be a positive integer. If it is not specified, the default value is 2.

spellcheck?: string | boolean

Controls whether the element may be checked for spelling errors.

style?: CSSProperties
value?: string

The value of the component

wrap?: string | TextareaWrap

Indicates how the control should wrap the value for form submission. Refer to this page on MDN for explanation of the available values.