A native <textarea> with Designsystemet styling.
Mirrors Textarea from @digdir/designsystemet-react.
Textarea.view [ Attr.value model.comment, Events.onInput ChangedComment ]Like Input, it needs a label. Put it in a
Field or use
Textfield.multiline.
Inside a Field and without rows, the textarea grows with its text.
<Textarea /> → Textarea.view []rows={4} → Textarea.view [ Attr.rows 4 ]<Textarea>Tekst</Textarea> → Textarea.view [ Attr.value "Tekst" ]
A
<textarea class="ds-input">. Set its text withAttr.value.