projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f07aff
)
Roo/bootstrap/CheckBox.js
author
edward
<edward@roojs.com>
Wed, 6 Apr 2016 04:36:28 +0000
(12:36 +0800)
committer
edward
<edward@roojs.com>
Wed, 6 Apr 2016 04:36:28 +0000
(12:36 +0800)
Roo/bootstrap/CheckBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CheckBox.js
b/Roo/bootstrap/CheckBox.js
index
6fdb98d
..
3e99335
100644
(file)
--- a/
Roo/bootstrap/CheckBox.js
+++ b/
Roo/bootstrap/CheckBox.js
@@
-433,7
+433,11
@@
Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input, {
this.fireEvent('invalid', this, msg);
+ var label = Roo.bootstrap.FieldLabel.get(this.name + '-group');
+ if(label){
+ label.markInvalid();
+ }
if(this.inputType == 'radio'){
Roo.each(this.el.up('form').select('input[name='+this.name+']', true).elements, function(e){