We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79fc679 commit cdff4e8Copy full SHA for cdff4e8
drop-down.ios.ts
@@ -458,7 +458,7 @@ class TNSDropDownLabel extends TNSLabel {
458
public setText(value: string) {
459
const actualText = value || this._hint || "";
460
461
- this._hasText = !types.isNullOrUndefined(value);
+ this._hasText = !types.isNullOrUndefined(value) && value !== "";
462
this.text = (actualText === "" ? " " : actualText); // HACK: If empty use <space> so the label does not collapse
463
464
this._refreshColor();
0 commit comments