fix(label): placeholder + floating label (#16111)

* fix(label): placeholder + floating label

* fix placeholder type

* update docs

* uodate docs
This commit is contained in:
Manu MA
2018-11-02 22:15:28 +01:00
committed by GitHub
parent 4a2a458cc9
commit a8be5291bb
12 changed files with 199 additions and 150 deletions

View File

@ -37,7 +37,7 @@ export class SelectOption implements ComponentInterface {
@Event() ionSelectOptionDidUnload!: EventEmitter<void>;
componentWillLoad() {
if (this.value == null) {
if (this.value === undefined) {
this.value = this.el.textContent || '';
}
}