mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #4292 from NativeScript/fix-ios-text-view-hint
Fix: IOS text view hint should never show while editing
This commit is contained in:
4
apps/app/ui-tests-app/issues/issue-3354.ts
Normal file
4
apps/app/ui-tests-app/issues/issue-3354.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export function clear(args) {
|
||||
const tv = args.object.page.getViewById("tv");
|
||||
tv.text= "";
|
||||
}
|
||||
6
apps/app/ui-tests-app/issues/issue-3354.xml
Normal file
6
apps/app/ui-tests-app/issues/issue-3354.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
|
||||
<StackLayout class="p-20">
|
||||
<TextView id="tv" text="" hint="the hint" ></TextView>
|
||||
<Button text="clear text" tap="clear"></Button>
|
||||
</StackLayout>
|
||||
</Page>
|
||||
@@ -23,6 +23,7 @@ export function pageLoaded(args: EventData) {
|
||||
examples.set("1639", "issues/issue-1639");
|
||||
examples.set("1657-ios", "issues/issue-1657-ios");
|
||||
examples.set("tabview-with-scrollview_4022","issues/tabview-with-scrollview_4022");
|
||||
examples.set("3354-ios", "issues/issue-3354");
|
||||
|
||||
let viewModel = new SubMainPageViewModel(wrapLayout, examples);
|
||||
page.bindingContext = viewModel;
|
||||
|
||||
Reference in New Issue
Block a user