TextAreaSettings
Defines the settings for the TextArea.
const textareaSettings: TextAreaSettings = {
rows: 5,
placeholder: 'Enter your prompt here',
maxlength: 1000,
resizable: 'vertical'
};
Name | Type | Default | Description |
---|---|---|---|
adornmentsOrientation? |
|
Specifies the orientation of the TextArea adornments. | |
cols? |
|
Sets the visible width of the text area in average character width. | |
disabled? |
|
Sets the disabled state of the TextArea component. | |
fillMode? |
|
Sets the background and border styles of the TextArea. | |
flow? |
|
Specifies the flow direction of the TextArea sections. | |
inputAttributes? |
|
Sets the HTML attributes of the inner focusable input element. | |
maxlength? |
|
Sets the maximum number of characters allowed in the TextArea. | |
placeholder? |
|
The hint that appears when the Textarea is empty. | |
readonly? |
|
Sets the read-only state of the TextArea component. | |
resizable? |
|
Sets the resize behavior of the TextArea. | |
rounded? |
|
Sets the border radius of the TextArea. | |
rows? |
|
Sets the visible height of the TextArea in lines. | |
selectOnFocus? |
|
Determines whether the component selects the whole value when you click the TextArea. | |
showPrefixSeparator? |
|
Shows the prefix separator in the TextArea. | |
showSuffixSeparator? |
|
Shows the suffix separator in the TextArea. | |
size? |
|
Sets the size of the TextArea. Controls the padding of the text area element. | |
tabindex? |
|
Sets the tabindex of the component. | |
title? |
|
Sets the title attribute of the internal TextArea input element of the component. | |
value? |
|
Provides a value for the TextArea component. |