#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 13 years ago by
Cc: | Adam Peller added |
---|---|
Milestone: | → 1.1 |
comment:2 Changed 13 years ago by
Owner: | set to Douglas Hays |
---|
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(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 13 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 Changed 13 years ago by
Owner: | changed from Douglas Hays to alex |
---|---|
Status: | reopened → new |
Fixed in the current trunk, but reopening to make sure the Editor refactoring doesn't break onfocus/onblur support.
comment:7 Changed 13 years ago by
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 13 years ago by
how about if we check in a manual test on the Editor test page and close this ticket?
comment:9 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
I assume this goes along w/Doug's plan to add onFocus and onBlur to TextBox? widgets.