Opened 11 years ago
Closed 11 years ago
#12152 closed defect (fixed)
focus problems for readonly/disabled form widgets
Reported by: | Douglas Hays | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Dijit | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Calling widget.focus() calls dijit.focus() but does not check this.disabled first. Also, widget.isFocusable() returns false for readOnly, but the widget can be focused, just not changed.
Note: See
TracTickets for help on using
tickets.
(In [23530]) Fixes #12152. Check for disabled before focusing widget. Also tweak isFocusable to return true for readOnly. Add automated tests.