From ff0cc7ad7950deee8d255ba47a4ebc73f13064fa Mon Sep 17 00:00:00 2001 From: mmalerba Date: Fri, 27 Apr 2018 18:44:34 -0700 Subject: [PATCH] docs(form-field): update documentation regarding label and placeholder (#11037) * docs(form-field): update documentation regarding label and placeholder * address comments --- src/lib/form-field/form-field.html | 2 ++ src/lib/form-field/form-field.md | 28 ++++++++++++------- src/lib/form-field/placeholder.ts | 7 ++++- src/lib/input/input.md | 23 +++++++-------- src/lib/select/select.md | 11 ++++---- .../form-field-label-example.html | 2 +- 6 files changed, 42 insertions(+), 31 deletions(-) diff --git a/src/lib/form-field/form-field.html b/src/lib/form-field/form-field.html index 4f6adc89a6a9..13254c0732ef 100644 --- a/src/lib/form-field/form-field.html +++ b/src/lib/form-field/form-field.html @@ -22,6 +22,7 @@ *ngIf="_hasFloatingLabel()" [ngSwitch]="_hasLabel()"> + {{_control.placeholder}} @@ -29,6 +30,7 @@ +