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

index 6387316..e19f55e 100644 (file)
@@ -20,6 +20,8 @@
  * @cfg {String} indicatorpos (left|right) default left
  * @cfg {Boolean} inline (true|false) inline the element (default true)
  * @cfg {String} weight (primary|warning|info|danger|success) The text that appears beside the radio
+ * @cfg {String} invalidClass The CSS class to use when marking a field invalid
+ * @cfg {String} validClass The CSS class to use when marking a field valid
  * @constructor
  * Create a new RadioSet
  * @param {Object} config The config object
@@ -51,6 +53,16 @@ Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Component,  {
     
     allowblank : true,
     
+    /**
+     * 
+     */
+    invalidClass : "has-warning",
+    
+    /**
+     * 
+     */
+    validClass : "has-success",
+    
     getAutoCreate : function()
     {
         var cfg = {