mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
13 lines
752 B
XML
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> |