Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#5550 closed defect (fixed)

Fixed size textarea widget

Reported by: bill Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

By popular demand, should make a fixed size textarea widget similar to a native <textarea>.

See

http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/fixed-size-textarea-using-dijit-form-textarea

and

http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-development-discussion/why-no-simple-textarea

This would also have a resize(size) method and thus be able to used as a child of a layout container.

Change History (15)

comment:1 Changed 12 years ago by bill

Description: modified (diff)

comment:2 Changed 12 years ago by bill

Description: modified (diff)

comment:3 Changed 12 years ago by dante

(In [12012]) refs #4408, #5359, #5550 - adds semantic degradable textarea, select, and hidden input types that work with dijit.form.Form

comment:4 Changed 12 years ago by bill

Milestone: 2.01.1
Owner: set to bill
Status: newassigned

Will copy over to dijit.

comment:5 Changed 12 years ago by bill

(In [12190]) Copy simple (non-auto-sizing) Textarea widget from dojox into dijit.form.SimpleTextarea?. Not working insider BorderContainer? yet so leaving bug open. Refs #5550.

comment:6 Changed 12 years ago by bill

(In [12191]) Various bug fixes to SimpleTextArea? to work with Form, plus adding tests to Form.html for Textarea and SimpleTextarea?.

Refs #5550.

comment:7 Changed 12 years ago by bill

(In [12210]) Remove dojox.FormWidgets? since they've been moved to dijit. Refs #5359, #5550, #5700

comment:8 Changed 12 years ago by Adam Peller

(In [12228]) Name attribute has to be directly in template, due to browser quirks. Refs #5550.

comment:9 Changed 12 years ago by Adam Peller

(In [12294]) null checks for programmatic instantiation. Refs #5550

comment:10 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: assignedclosed

(In [12384]) Fix textareas (simpletextarea) in borderlayout for FF. Just use IE version of the layout code rather than calling resize, but may reconsider when this code gets refactored. Fixes #5550

comment:11 Changed 12 years ago by bill

(In [12421]) Don't forget about Safari. It can't deal with textarea nodes with t/l/b/r set either. Refs #5550.

comment:12 Changed 12 years ago by bill

(In [12422]) Don't display Safari's grab handle for textarea widgets inside a BorderContainer?. Refs #5550.

comment:13 Changed 12 years ago by bill

(In [12426]) Need to use "baseClass" so that CSS class gets set correctly when textarea is focused. Refs #5550.

comment:14 Changed 12 years ago by bill

(In [12428]) Move the code to hide SimpleTextArea? resizer when SimpleTextArea? is inside of a BorderContainer? into dijit.css (rather than in the test file).

Fix overflow:scroll on IE.

Also, remove dijitBorderContainerPane position:absolute from dijit.css since it's hardcoded into the style tag. Note that adding class names to your children after they are created doesn't work very well since they tend to get overwritten when the child changes state (ie, when SimpleTextArea? receives focus).

Refs #5550.

comment:15 Changed 8 years ago by bill

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