Skip to content

Commit 6cc1db9

Browse files
Update typo in search-bar tests (NativeScript#4402)
1 parent 979f59f commit 6cc1db9

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<Page>
3-
<SearchBar width="250" verticalAlignemnt="center" horizontalAlignemnt="center"/>
3+
<SearchBar width="250" verticalAlignment="center" horizontalAlignment="center"/>
44
</Page>

apps/app/ui-tests-app/main-page-view-model.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export class MainPageViewModel extends TestPageMainViewModel {
3131
set exampleName(value: string) {
3232
if (this._exampleName !== value) {
3333
this._exampleName = value;
34-
this.notifyPropertyChange("exampleName", value);
3534
this.filterListView(value);
3635
}
3736
}

apps/app/ui-tests-app/test-example-model.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export class TestExample extends Observable {
1717
set name(value: string) {
1818
if (this._name !== value) {
1919
this._name = value;
20-
this.notifyPropertyChange('name', value)
2120
}
2221
}
2322

@@ -28,7 +27,6 @@ export class TestExample extends Observable {
2827
set path(value: string) {
2928
if (this._path !== value) {
3029
this._path = value;
31-
this.notifyPropertyChange('path', value)
3230
}
3331
}
3432
}

apps/app/ui-tests-app/text-field/max-length.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<ActionBar title="maxLength" />
44
</Page.actionBar>
55
<StackLayout>
6-
<TextField id="maxLenghtFromCodeBehindWithText" hint="max lenght and text from code behind" maxLength="3" />
7-
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
8-
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
9-
<TextField id="useInput" hint="user input" maxLength="3" />
10-
<TextField id="useInput" hint="secured" maxLength="3" secure="true" />
6+
<TextField autocorrect="false" id="maxLenghtFromCodeBehindWithText" hint="max lenght and text from code behind" maxLength="3" />
7+
<TextField autocorrect="false" id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
8+
<TextField autocorrect="false" id="inXml" text="in xml" hint="in xml" maxLength="3" />
9+
<TextField autocorrect="false" id="useInput" hint="user input" maxLength="3" />
10+
<TextField autocorrect="false" id="useInput" hint="secured" maxLength="3" secure="true" />
1111
<Button tap="setText" text="Revert to initial state" />
1212
</StackLayout>
1313
</Page>

0 commit comments

Comments
 (0)