mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +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) {
|
||||
if (this.formattedText) {
|
||||
return;
|
||||
}
|
||||
if (text !== null && text !== undefined && text !== '') {
|
||||
this.showText();
|
||||
} else if (hint !== null && hint !== undefined && hint !== '') {
|
||||
|
Reference in New Issue
Block a user