Opened 10 years ago

Closed 10 years ago

#15038 closed defect (patchwelcome)

dijit/form/Select width with long options

Reported by: Joso Owned by: Douglas Hays
Priority: undecided Milestone: future
Component: Dijit - Form Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

I would like to set own width for dijit/form/Select.

http://livedocs.dojotoolkit.org/dijit/form/Select#setting-width

If I set a smaller width of the select dijit(input element) and select option item larger than its real width, the dijit's width will be enlarged to the width of the selected item. (wrong behavior)

Attachments (1)

index.htm (1.2 KB) - added by Joso 10 years ago.
select dijit sample

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Joso

Attachment: index.htm added

select dijit sample

comment:1 Changed 10 years ago by Douglas Hays

Milestone: tbdfuture
Resolution: patchwelcome
Status: newclosed

I don't see how to fix this with the Select widget's use of a TABLE. I'm also not sure that we would want the default behavior to visually truncate a selection's text.

Note: See TracTickets for help on using tickets.