[MERGE] forward port branch 12.0 up to 2830b93a3a
This commit is contained in:
@@ -805,7 +805,7 @@ var FieldBoolean = AbstractField.extend({
|
||||
* @returns {jQuery} the focusable checkbox input
|
||||
*/
|
||||
getFocusableElement: function () {
|
||||
return this.$input || $();
|
||||
return this.mode === 'readonly' ? $() : this.$input;
|
||||
},
|
||||
/**
|
||||
* A boolean field is always set since false is a valid value.
|
||||
|
||||
Reference in New Issue
Block a user