Fix readonly checkbox not working

This commit is contained in:
Hadi Nategh
2020-05-13 12:00:06 +02:00
parent 0748fba70f
commit f23b5aee82
2 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,7 @@ class et2_checkbox extends et2_inputWidget
set_readonly(_ro)
{
jQuery(this.getDOMNode()).attr('disabled', _ro);
this.input.prop('disabled', _ro);
}
/**