From f9ec0c9abaf26a0b14b3143bfa60785feb133d59 Mon Sep 17 00:00:00 2001 From: Nikolay Tsonev Date: Wed, 21 Jun 2017 21:48:57 +0300 Subject: [PATCH] add sample code snippet for maxLength property (#4429) * add sample code snippet for maxLength property * removing Page and StackLayout * remove the other Page tag --- tests/app/ui/text-field/text-field.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/app/ui/text-field/text-field.md b/tests/app/ui/text-field/text-field.md index e4f09e7a2..e4b2cc933 100644 --- a/tests/app/ui/text-field/text-field.md +++ b/tests/app/ui/text-field/text-field.md @@ -10,12 +10,8 @@ Using a TextField requires the text-field module. {%snippet require-textfield%} ### Binding two TextFields text property to observable view-model property. ```XML - - - {%raw%} - {%endraw%} - - +{%raw%} +{%endraw%} ``` {%snippet binding-text-property-textfield%} ## Creating a TextField @@ -34,3 +30,8 @@ Using a TextField requires the text-field module. {%snippet setting-secure-property%} ### Binding secure property directly to model {%snippet binding-secure-property%} +### Setting the maxLength property of a TextField +``` + + +``` \ No newline at end of file