Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Drop-down field width in IE

Drop-down field width in IE 13 years 11 months ago #11882

  • ameridane
  • ameridane's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0
I was running into an issue for a client that had some very long field values for a drop-down on an event. Looked fine in FF (where CSS width settings for a SELECT will be overridden to accommodate wider content), but in IE the fields would get cut off at the set (pixel) width.

I went in and changed the "width" parameter for the field in question, but then discovered that the max value allowed was 255. Couldn't figure out why until I poked around in the db itself. It turns out that the "field_size" field in dt_register_fields is a TINYINT, so can't go beyond 255. But, if you change the type in MySQL to SMALLINT instead, you're good to go, and now you can make your field width whatever you need to accommodate wide drop-downs in IE.

Please Log in or Create an account to join the conversation.

Drop-down field width in IE 13 years 11 months ago #11884

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Thank you for sharing that. While this wouldn't affect most users, good info for those where it may pop up. We have modified the install SQL for the next package release to include this change.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.124 seconds