From f96752925306e6c499527c4383c15a09da5d2004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauro=20Mascarenhas=20de=20Ara=C3=BAjo?= Date: Fri, 23 Jun 2023 17:42:41 -0300 Subject: [PATCH] docs(textarea): update samples - Added placeholders for textarea samples (enable floating labels); - Added new sample for textarea with custom placeholder. --- pug/contents/text_inputs_content.html | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pug/contents/text_inputs_content.html b/pug/contents/text_inputs_content.html index 74dfde8125..ac3a9a560f 100644 --- a/pug/contents/text_inputs_content.html +++ b/pug/contents/text_inputs_content.html @@ -319,10 +319,16 @@

Textarea

- +
+
+
+ + +
+

@@ -330,10 +336,16 @@ 

Textarea

<form class="col s12"> <div class="row"> <div class="input-field col s12"> - <textarea id="textarea1" class="materialize-textarea"></textarea> + <textarea id="textarea1" class="materialize-textarea" placeholder=" "></textarea> <label for="textarea1">Textarea</label> </div> </div> + <div class="row"> + <div class="input-field col s12"> + <textarea id="textarea2" class="materialize-textarea" placeholder="A custom placeholder :)"></textarea> + <label for="textarea2">Textarea with placeholder</label> + </div> + </div> </form> </div>
@@ -351,7 +363,7 @@
Icon Prefixes
mode_edit - +
@@ -444,13 +456,13 @@

Character Counter

- +
- +
@@ -461,13 +473,13 @@

Character Counter

<form class="col s12"> <div class="row"> <div class="input-field col s6"> - <input id="input_text" type="text" maxlength="10"> + <input id="input_text" type="text" maxlength="10" placeholder=" "> <label for="input_text">Input text</label> </div> </div> <div class="row"> <div class="input-field col s12"> - <textarea id="textarea2" class="materialize-textarea" maxlength="120"></textarea> + <textarea id="textarea2" class="materialize-textarea" maxlength="120" placeholder=" "></textarea> <label for="textarea2">Textarea</label> </div> </div>