Opened 9 years ago

Closed 9 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.

Change History (1)

comment:1 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [23530]) Fixes #12152. Check for disabled before focusing widget. Also tweak isFocusable to return true for readOnly. Add automated tests.

Note: See TracTickets for help on using tickets.