File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
universal-app/kitchen-sink Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 88
99 < table style ="width: 100% " cellspacing ="0 "> < tr >
1010 < td >
11- < mat-form-field style ="width: 100% " floatPlaceholder ="never ">
11+ < mat-form-field style ="width: 100% " floatLabel ="never ">
1212 < input matInput placeholder ="First name ">
1313 </ mat-form-field >
1414 </ td >
@@ -304,11 +304,18 @@ <h4>Textarea</h4>
304304 </ p >
305305
306306 < p >
307- < mat-form-field [floatPlaceholder ] ="floatingLabel ">
307+ < mat-form-field [floatLabel ] ="floatingLabel ">
308308 < input matInput placeholder ="Placeholder ">
309309 </ mat-form-field >
310310 </ p >
311311
312+ < p >
313+ < mat-form-field [floatLabel] ="floatingLabel ">
314+ < mat-label > What is your favorite color?</ mat-label >
315+ < input matInput type ="color " value ="#00ff00 ">
316+ </ mat-form-field >
317+ </ p >
318+
312319 < p >
313320 < mat-form-field >
314321 < input matInput placeholder ="Prefixed " value ="example ">
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import {MAT_INPUT_VALUE_ACCESSOR} from './input-value-accessor';
3131const MAT_INPUT_INVALID_TYPES = [
3232 'button' ,
3333 'checkbox' ,
34- 'color' ,
3534 'file' ,
3635 'hidden' ,
3736 'image' ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ <h2>Icon</h2>
103103
104104< h2 > Input</ h2 >
105105
106- < mat-form-field floatPlaceholder ="never ">
106+ < mat-form-field floatLabel ="never ">
107107 < input matInput placeholder ="name ">
108108</ mat-form-field >
109109
You can’t perform that action at this time.
0 commit comments