Merge pull request #151 from NativeScript/auto-correct

New Feature: TextField and TextView now have autocapitalizationType prop...
This commit is contained in:
Rossen Hristov
2015-03-10 11:00:40 +02:00
9 changed files with 132 additions and 8 deletions

View File

@ -2,7 +2,7 @@
<StackLayout id="stack">
<Button id="button" text="textChanged" height="100" margin="20" tap="onTap" backgroundColor="Red"/>
<Label id="label" text="{{ text }}" height="100" margin="20"/>
<TextField id="textField" text="{{ text }}" margin="20" updateTextTrigger="textChanged"/>
<TextView id="textView" text="{{ text }}" height="100" margin="20" updateTextTrigger="textChanged"/>
<TextField id="textField" text="{{ text }}" margin="20" autocapitalizationType="none"/>
<TextView id="textView" text="{{ text }}" height="100" margin="20" autocapitalizationType="none"/>
</StackLayout>
</Page>