You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/11/09 21:15:30 UTC

[royale-asjs] branch develop updated: fix validation in example

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 <ca...@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">