Closed pueaau closed 6 years ago
placeholder is a string, you need to add ' : [placeholder]="'Sometext'" or [placeholder]="someVar" this.someVar = 'Sometext'
Thanks. I knew it required a string, just not that it required a string within a string...
When I specify an empty string or nothing as placeholder the field is empty. When I specify [placeholder]="Sometext" the text field shows 'undefined' instead.