From: edward Date: Tue, 21 Nov 2017 04:42:17 +0000 (+0800) Subject: examples/bootstrap/RadioSet.bjs X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=79686e5af1946892fec57400df200e990e00921a examples/bootstrap/RadioSet.bjs examples/bootstrap/RadioSet.js --- diff --git a/examples/bootstrap/RadioSet.bjs b/examples/bootstrap/RadioSet.bjs index d9543ab72a..d4967df234 100644 --- a/examples/bootstrap/RadioSet.bjs +++ b/examples/bootstrap/RadioSet.bjs @@ -157,11 +157,13 @@ "$ xns" : "Roo.bootstrap", "items" : [ { - "String name" : "text_name", + "Boolean allowBlank" : false, + "String name" : "email_name", "xtype" : "Input", "string placeholder" : "Email", "$ xns" : "Roo.bootstrap", - "String vtype" : "email" + "String vtype" : "email", + "String regexText" : "This field should be an e-mail address in the format \"user@domain.com\"" } ] } diff --git a/examples/bootstrap/RadioSet.js b/examples/bootstrap/RadioSet.js index 97ccd4cad5..2f400f68a9 100644 --- a/examples/bootstrap/RadioSet.js +++ b/examples/bootstrap/RadioSet.js @@ -192,8 +192,10 @@ RadioSet = new Roo.XComponent({ items : [ { xtype : 'Input', - name : 'text_name', + allowBlank : false, + name : 'email_name', placeholder : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */, + regexText : 'This field should be an e-mail address in the format \"user@domain.com\"', vtype : 'email', xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap'