mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #3718 from NativeScript/fix-text-view-decoration
Fix the text view decoration
This commit is contained in:
@ -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 !== '') {
|
||||||
|
Reference in New Issue
Block a user