royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [royale-asjs] branch develop updated: fix validation in example
Date Fri, 09 Nov 2018 21:15:30 GMT
This is an automated email from the ASF dual-hosted git repository.

carlosrovira 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 9b4ee23  fix validation in example
9b4ee23 is described below

commit 9b4ee23c8e07c512552fcb14eae8d6b04daa0130
Author: Carlos Rovira <carlosrovira@apache.org>
AuthorDate: Fri Nov 9 22:15:23 2018 +0100

    fix validation in example
---
 .../royale/JewelExample/src/main/royale/FormsValidationPlayGround.mxml  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/royale/JewelExample/src/main/royale/FormsValidationPlayGround.mxml b/examples/royale/JewelExample/src/main/royale/FormsValidationPlayGround.mxml
index 8d05de2..2aea9d4 100644
--- a/examples/royale/JewelExample/src/main/royale/FormsValidationPlayGround.mxml
+++ b/examples/royale/JewelExample/src/main/royale/FormsValidationPlayGround.mxml
@@ -85,6 +85,7 @@ limitations under the License.
 			</j:FormItem>
 
 			<j:FormItem label="Favorite movies (at least 2)" required="true">
+				<j:VGroup gap="3">
 					<j:beads>
 						<j:CheckBoxValidator required="2" requiredFieldError="Please choose at least 2 movies"/>
 					</j:beads>
@@ -92,6 +93,7 @@ limitations under the License.
 					<j:CheckBox text="Scent of a woman"/>
 					<j:CheckBox text="Star Wars"/>
 					<j:CheckBox text="The Shawshank Redemption"/>
+				</j:VGroup>
 			</j:FormItem>
 
 			<j:FormItem label="Verification code: {randomCode}" required="true">


Mime
View raw message