Do not consider readonly/non editable widget as focusable

issue8475
review277751002
This commit is contained in:
Cédric Krier committed 2019-09-02 18:28:23 +02:00
1 parent c0f922a557
commit 58ea79382a
1 file changed
+2 -1
+2 -1
View File
@@ -3461,7 +3461,8 @@
return null;
}
if (~['input', 'select', 'textarea'].indexOf(
element[0].tagName.toLowerCase())) {
element[0].tagName.toLowerCase()) &&
!element.prop('readonly')) {
return element;
}