mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(label): placeholder + floating label (#16111)
* fix(label): placeholder + floating label * fix placeholder type * update docs * uodate docs
This commit is contained in:
@ -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 || '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user