Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#4711 closed defect (fixed)

ValidationTextBox: width expands when type too much (IE)

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

Description

On IE, if you type too much in a ValidationTextBox? the width of the textbox will actually increase past the width specified via style="width: 100px" or indirectly via a CSS rule. See test_validate.html for an example.

Probably need to use an expression to set the width of the <input>. Attaching reference implementation using expression and <div> rather than <table> although not sure it's the best way to solve the problem.

Attachments (2)

input.html (6.3 KB) - added by bill 12 years ago.
example using expression
4711.patch (12.2 KB) - added by Douglas Hays 12 years ago.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by bill

Attachment: input.html added

example using expression

comment:1 Changed 12 years ago by Becky Gibson

The same behavior occurs with comboBox - the width of the text field expands to fit the entry. This is most noticable on the first combobox on test_combobox.html when the font size is large.

comment:2 Changed 12 years ago by bill

Owner: set to bill
Status: newassigned

comment:3 Changed 12 years ago by bill

Milestone: 1.11.0

Doug found a fix!

comment:4 Changed 12 years ago by bill

Owner: changed from bill to Douglas Hays
Priority: normalhigh
Status: assignednew

comment:5 Changed 12 years ago by Douglas Hays

Status: newassigned

Changed 12 years ago by Douglas Hays

Attachment: 4711.patch added

comment:6 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [11181]) Fixes #4711. Reviewed by bill. Added IE specific css rules to handle an INPUT tag that needs to stretch to remaining space. Removed the copying of srcNodeRef style to inner INPUT tag. SO far I've been unable to recreate a possible side-effect with spinner look-n-feel on safari.

comment:7 Changed 8 years ago by bill

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