UITextarea
Name
Type
Default
Description
Example
import {UITextarea} from 'writer'
render($$) {
const el = $$('div')
return el.append(
$$(UITextarea, {
id: 'myTextarea',
label: this.getLabel('Textarea label'),
secondaryLabel: this.getLabel('Mandatory Field'),
value: '',
rows: 5,
onChange: (value) => {
// Do something
}
})
)
}