Roo/bootstrap/RadioSet.js
authoredward <edward@roojs.com>
Fri, 17 Nov 2017 05:14:58 +0000 (13:14 +0800)
committeredward <edward@roojs.com>
Fri, 17 Nov 2017 05:14:58 +0000 (13:14 +0800)
examples/bootstrap/RadioSet.bjs
examples/bootstrap/RadioSet.js

Roo/bootstrap/RadioSet.js
examples/bootstrap/RadioSet.bjs
examples/bootstrap/RadioSet.js

index 893d657..7a12f0d 100644 (file)
@@ -11,7 +11,7 @@
  * @extends Roo.bootstrap.Component
  * Bootstrap RadioSet class
  * @cfg {Boolean} disabled (true|false) default false
- * @cfg {Boolean} allowblank (true|false) default true
+ * @cfg {Boolean} allowBlank (true|false) default true
  * @cfg {String} name name of the radio
  * @cfg {String} fieldLabel - the label associated
  * @cfg {String} value default value of the input
@@ -51,7 +51,7 @@ Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Component,  {
     
     disabled : false,
     
-    allowblank : true,
+    allowBlank : true,
     
     invalidClass : 'has-warning',
     
@@ -179,6 +179,7 @@ Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Component,  {
             return;
         }
         
+        this.indicatorEl.show();
         this.el.removeClass([this.invalidClass, this.validClass]);
         this.addClass(this.invalidClass);
         
index 76b6e27..99f9b72 100644 (file)
@@ -58,7 +58,7 @@
            "$ xns" : "Roo.bootstrap",
            "items" : [
             {
-             "bool allowblank" : false,
+             "bool allowBlank" : false,
              "xtype" : "RadioSet",
              "string fieldLabel" : "Radio Field Lable",
              "$ xns" : "Roo.bootstrap",
index 4cb0108..84ce5f1 100644 (file)
@@ -80,7 +80,7 @@ RadioSet = new Roo.XComponent({
            items  : [
             {
              xtype : 'RadioSet',
-             allowblank : false,
+             allowBlank : false,
              fieldLabel : _this._strings['8d80ce38760953b68529d7fc9d8d89b6'] /* Radio Field Lable */,
              indicatorpos : 'right',
              name : 'post_name',