You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by an...@apache.org on 2020/10/04 14:25:15 UTC

[royale-asjs] branch develop updated: Update FormExample.mxml

This is an automated email from the ASF dual-hosted git repository.

andreww pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9a97ec5  Update FormExample.mxml
9a97ec5 is described below

commit 9a97ec5115858953ab0006713f905fb73ece01b6
Author: Andrew Wetmore <an...@cottage14.com>
AuthorDate: Sun Oct 4 11:25:04 2020 -0300

    Update FormExample.mxml
    
    Two minor text fixes
---
 .../jewel/TourDeJewel/src/main/royale/components/FormExample.mxml   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/components/FormExample.mxml b/examples/jewel/TourDeJewel/src/main/royale/components/FormExample.mxml
index a97c631..822f88e 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/components/FormExample.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/components/FormExample.mxml
@@ -50,7 +50,7 @@ limitations under the License.
     </fx:Script>
 
     <j:beads>
-        <j:FormValidator localId="formValidator" trigger="{btn}" triggerEvent="click" requiredFieldError="There are invalid data, please check it."/>
+        <j:FormValidator localId="formValidator" trigger="{btn}" triggerEvent="click" requiredFieldError="There is invalid data, please check it."/>
         <js:ContainerDataBinding/>
     </j:beads>
 
@@ -69,7 +69,7 @@ limitations under the License.
         </j:TextInput>
     </j:FormItem>
 
-    <j:FormItem label="Your born date" required="true">
+    <j:FormItem label="Your birth date" required="true">
         <j:DateField>
             <j:beads>
                 <j:DateValidator requiredFieldError="The value is not a valid date"/>
@@ -107,6 +107,6 @@ limitations under the License.
                 <j:StringValidator validateFunction="{customValidate}"/>
             </j:beads>
         </j:TextInput>
-        <j:Button localId="btn" text="send" emphasis="primary"/>
+        <j:Button localId="btn" text="Submit" emphasis="primary"/>
     </j:FormItem>
 </j:Form>