Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#9258 closed defect (fixed)

dijit.form.Textarea cannot be subclassed

Reported by: Ben Lowery Owned by: Douglas Hays
Priority: high Milestone: 1.4
Component: Dijit - Form Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

dijit.form.Textarea assumes this.domNode is a textarea element. It should use this.textbox instead. Not doing so prevents others from subclassing dijit.form.Textarea and providing a custom template that hides the textarea deeper in the DOM.

Attachments (1)

textarea.patch (864 bytes) - added by Ben Lowery 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Ben Lowery

Attachment: textarea.patch added

comment:1 Changed 11 years ago by bill

Milestone: tbd1.4
Owner: set to Douglas Hays

Seems reasonable but passing to Doug for review/checkin.

comment:2 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [17619]) Fixes #9258. Change references in Textarea from domNode to textbox to allow easier subclassing.

comment:3 Changed 9 years ago by bill

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