Textarea
<script>
import { Textarea } from 'gros/form'
let value = `Lorem ipsum dolor sit amet, [...]`
</script>
<Textarea
icon="message"
label="Comment"
bind:value
/>
param | default | required |
---|---|---|
value | ” | false |
icon | undefined | false |
label | ” | false |
spellcheck | false | false |
height | ‘72px’ | false |
small | false | false |
required | false | false |
field | undefined | false |
errors | undefined | false |
Gros champ de saisie
Pour obtenir un gros Textarea
, on ajoute le paramètre big
.
<Textarea
big
icon="message"
label="Comment"
height="200px"
bind:value
/>
Gestion des erreurs
voir Input