projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f61ff
)
Roo/bootstrap/Input.js
author
Alan Knowles
<alan@roojs.com>
Mon, 14 Dec 2020 05:00:24 +0000
(13:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 14 Dec 2020 05:00:24 +0000
(13:00 +0800)
Roo/bootstrap/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Input.js
b/Roo/bootstrap/Input.js
index
eef59c6
..
74c5ca8
100644
(file)
--- a/
Roo/bootstrap/Input.js
+++ b/
Roo/bootstrap/Input.js
@@
-396,8
+396,8
@@
Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, {
cls : 'roo-required-indicator ' + (this.indicatorpos == 'right' ? 'right' : 'left') +'-indicator text-danger fa fa-lg fa-star',
tooltip : 'This field is required'
};
- if (
Roo.bootstrap.version
> 3 ) {
- indicator
.cls += 'display-none'; // are we just hiding it?
+ if (
this.allowBlank
> 3 ) {
+ indicator
= { tag: 'i', cls : 'display-none'; }
}
if (align ==='left' && this.fieldLabel.length) {