diff --git a/src/views/textarea/TextareaDoc.vue b/src/views/textarea/TextareaDoc.vue index 516b5037a..19e81b872 100755 --- a/src/views/textarea/TextareaDoc.vue +++ b/src/views/textarea/TextareaDoc.vue @@ -78,6 +78,41 @@ import Textarea from 'primevue/textarea'; +
Textarea component renders a native textarea element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using aria-labelledby, aria-label props.
+ +
+<label for="address1">Address 1</label>
+<Textarea id="address1" />
+
+<span id="address2">Address 2</span>
+<Textarea id="address2" aria-labelledby="address2" />
+
+<Textarea aria-label="Address Details"/>
+
+
+
+ Key | +Function | +
---|---|
tab | +Moves focus to the input. | +
None.