Simple and pleasant, very easy to implement
There are times when we need the user to only enter a certain number of characters for it, we have the property counter
, the value is a number and determines the maximum
TIP
To get when the number of characters is exceeded use the property counter-danger.sync
You can set the width of the textarea width the width
property. You can also use css values like10rem
or 50%
as value.
You can set the height of the textarea with the height
property. You can also use css values like10rem
or 50%
as value.
Name | Type | Parameters | Description | default |
---|---|---|---|---|
label | String | label of textarea. | ||
counter | Number | Determines the maximum number of characters. | ||
counter-danger.sync | Boolean | Determine if the value exceeds the counter. | false | |
width | String | Set the width of the textarea | ||
height | String | Set the height of the textarea |