Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · FORM CONTROLS

<dj-text-area>

A form-associated multi-line text field, composing <dj-label> and <dj-helper-text>. Same form/validity model as <dj-text-input>.

Try it in the playground

@dojo-ng/text-area · v0.1.2

npm install @dojo-ng/text-area

import "@dojo-ng/text-area";

Properties

PropertyAttributeTypeDefault
value value string ""
name name reflected string None
placeholder placeholder string None
label label string None
helperText helper-text string None
rows rows number 3
cols cols number None
wrap wrap "hard""soft""off" None
disabled disabled reflected boolean false
readonly readonly reflected boolean false
required required reflected boolean false
labelHidden label-hidden boolean false
minlength minlength number None
maxlength maxlength number None

Events

change

CSS parts

Style these with dj-text-area::part(name).

labelcontrolinputhelper-text

Methods

checkValidity(): booleanreportValidity(): booleansetCustomValidity(message: string)focus(options: FocusOptions)blur()