Files
NativeScript/apps/app/ui-tests-app/text-field/max-length.xml
2017-06-16 14:27:30 +03:00

13 lines
752 B
XML

<Page loaded="pageLoaded">
<Page.actionBar>
<ActionBar title="maxLength" />
</Page.actionBar>
<StackLayout>
<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>