projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0056e81
)
should not be able to change date on readonly
author
Alan
<alan@roojs.com>
Wed, 20 Mar 2024 07:25:13 +0000
(15:25 +0800)
committer
Alan
<alan@roojs.com>
Wed, 20 Mar 2024 07:25:13 +0000
(15:25 +0800)
Roo/bootstrap/form/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/DateField.js
b/Roo/bootstrap/form/DateField.js
index
c93bf08
..
a489975
100644
(file)
--- a/
Roo/bootstrap/form/DateField.js
+++ b/
Roo/bootstrap/form/DateField.js
@@
-563,7
+563,10
@@
Roo.extend(Roo.bootstrap.form.DateField, Roo.bootstrap.form.Input, {
showPopup : function()
{
- this.picker().show();
+ if(this.readOnly) {
+ return;
+ }
+ this.picker().show();
this.update();
this.place();