Update typo in search-bar tests (#4402)

This commit is contained in:
SvetoslavTsenov
2017-06-16 14:27:30 +03:00
committed by GitHub
parent 979f59f822
commit 6cc1db950b
4 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Page>
<SearchBar width="250" verticalAlignemnt="center" horizontalAlignemnt="center"/>
<SearchBar width="250" verticalAlignment="center" horizontalAlignment="center"/>
</Page>

View File

@ -31,7 +31,6 @@ export class MainPageViewModel extends TestPageMainViewModel {
set exampleName(value: string) {
if (this._exampleName !== value) {
this._exampleName = value;
this.notifyPropertyChange("exampleName", value);
this.filterListView(value);
}
}

View File

@ -17,7 +17,6 @@ export class TestExample extends Observable {
set name(value: string) {
if (this._name !== value) {
this._name = value;
this.notifyPropertyChange('name', value)
}
}
@ -28,7 +27,6 @@ export class TestExample extends Observable {
set path(value: string) {
if (this._path !== value) {
this._path = value;
this.notifyPropertyChange('path', value)
}
}
}

View File

@ -3,11 +3,11 @@
<ActionBar title="maxLength" />
</Page.actionBar>
<StackLayout>
<TextField id="maxLenghtFromCodeBehindWithText" hint="max lenght and text from code behind" maxLength="3" />
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
<TextField id="useInput" hint="user input" maxLength="3" />
<TextField id="useInput" hint="secured" maxLength="3" secure="true" />
<TextField autocorrect="false" id="maxLenghtFromCodeBehindWithText" hint="max lenght and text from code behind" maxLength="3" />
<TextField autocorrect="false" id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
<TextField autocorrect="false" id="inXml" text="in xml" hint="in xml" maxLength="3" />
<TextField autocorrect="false" id="useInput" hint="user input" maxLength="3" />
<TextField autocorrect="false" id="useInput" hint="secured" maxLength="3" secure="true" />
<Button tap="setText" text="Revert to initial state" />
</StackLayout>
</Page>