Merge pull request #3718 from NativeScript/fix-text-view-decoration

Fix the text view decoration
This commit is contained in:
Panayot Cankov
2017-02-28 14:19:45 +02:00
committed by GitHub

View File

@ -95,6 +95,9 @@ export class TextView extends EditableTextBase implements TextViewDefinition {
} }
public _refreshHintState(hint: string, text: string) { public _refreshHintState(hint: string, text: string) {
if (this.formattedText) {
return;
}
if (text !== null && text !== undefined && text !== '') { if (text !== null && text !== undefined && text !== '') {
this.showText(); this.showText();
} else if (hint !== null && hint !== undefined && hint !== '') { } else if (hint !== null && hint !== undefined && hint !== '') {