diff --git a/src/demo-app/input/input-demo.html b/src/demo-app/input/input-demo.html index bd79e8ccf017..2130e211064e 100644 --- a/src/demo-app/input/input-demo.html +++ b/src/demo-app/input/input-demo.html @@ -10,8 +10,8 @@

- - + +

@@ -39,15 +39,23 @@ Divider Colors +

Input

+ +

Textarea

+ + + +
Hints +

Input

{{characterCountHintExample.characterCount}} / 100

+ +

Textarea

+

+ + {{characterCountHintExample.characterCount}} / 100 + +

diff --git a/src/demo-app/input/input-demo.ts b/src/demo-app/input/input-demo.ts index 36891a409f01..49dcfe0f56a8 100644 --- a/src/demo-app/input/input-demo.ts +++ b/src/demo-app/input/input-demo.ts @@ -21,6 +21,7 @@ export class InputDemo { { value: 40 }, { value: 50 }, ]; + rows = 8; addABunch(n: number) { for (let x = 0; x < n; x++) { diff --git a/src/lib/input/README.md b/src/lib/input/README.md index 81eaa2dbf22c..dc0ca061c255 100644 --- a/src/lib/input/README.md +++ b/src/lib/input/README.md @@ -1,11 +1,11 @@ -# mdInput +# mdInput / mdTextarea Inputs are the basic input component of Material 2. The spec can be found [here](https://www.google.com/design/spec/components/text-fields.html). ## Notes -* The `` component fully support two-way binding of `ngModel`, as if it was a normal ``. +* The `` / `` component fully support two-way binding of `ngModel`, as if it was a normal `` and ` + +