mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Update typo in search-bar tests (#4402)
This commit is contained in:
@ -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>
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
@ -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>
|
Reference in New Issue
Block a user