Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#5907 closed defect (fixed)

Textarea and SimpleTextarea missing focus and blur event

Reported by: guest Owned by: Douglas Hays
Priority: high Milestone: 1.1
Component: Dijit - Form Version: 1.1b1
Keywords: Cc: Adam Peller
Blocked By: Blocking:

Description

Textarea and SimpleTextarea? should have onFocus and onBlur events so that they can be declared in markup code like: onFocus="alert('got focus')"

Change History (10)

comment:1 Changed 11 years ago by alex

Cc: Adam Peller added
Milestone: 1.1

comment:2 Changed 11 years ago by bill

Owner: set to Douglas Hays

comment:3 Changed 11 years ago by bill

I assume this goes along w/Doug's plan to add onFocus and onBlur to TextBox? widgets.

comment:4 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [12572]) Fixes #5327 #5907 !strict. Add onFocus and onBlur hooks to all widgets inheriting from dijit._Widget. Refactored existing _onBlur and _onFocus methods to call this.inherited. Added example user-defined onfocus/onblur methods to a sampling of widget unit tests. Renamed widget event methods like onfocus and onkeyup that will collide with user-defined event handlers.

comment:5 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: closedreopened

comment:6 Changed 11 years ago by Douglas Hays

Owner: changed from Douglas Hays to alex
Status: reopenednew

Fixed in the current trunk, but reopening to make sure the Editor refactoring doesn't break onfocus/onblur support.

comment:7 Changed 11 years ago by Adam Peller

Owner: changed from alex to Douglas Hays

Doug, overloading Alex's bug queue isn't going to help the project any. Can you monitor this?

comment:8 Changed 11 years ago by Adam Peller

how about if we check in a manual test on the Editor test page and close this ticket?

comment:9 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [12687]) Fixes #5907. Added semi-automated test to Editor.html.

comment:10 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.