Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#5318 closed defect (duplicate)

Textarea does not support the reset method

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit - Form Version: 1.0
Keywords: Textarea reset Cc: justicejiang@…; freemanlong@…
Blocked By: Blocking:

Description

I found Textarea widget doesn't support the form reset action while other form components do. The value inside it doesn't clean up when I using the parent form's reset method.Please fix the problem

Change History (5)

comment:1 Changed 12 years ago by bill

Resolution: duplicate
Status: newclosed

Actually many of the form widgets don't handle reset. It's difficult to do since there's no notification that a reset has occured. Dup of #2666.

comment:2 Changed 12 years ago by guest

Oh, that's quiet upset. If it could be achieve in future it would be perfect to your Form widget, for most of it support the reset function. Or can't you just give the form widget within a dijit.form.Form with a high level reset control? I mean, if the widget are using within a dijit.form.Form, user can use a dijit.form.Form.reset() method to reset all of its children's value.

comment:3 Changed 12 years ago by bill

Yeah, it might be a good idea to require the user to use a Form widget if they want reset functionality; then it would be much easier to implement. I updated #2666 with that suggestion.

comment:4 Changed 12 years ago by guest

Oh, thanks a lot, that's great:)

comment:5 Changed 9 years ago by bill

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