Skip to main content

Search and Top Navigation

#5499 closed bug (invalid)

Opened April 09, 2010 04:19PM UTC

Closed October 26, 2012 08:56AM UTC

resizable breaks option selected values in <select>

Reported by: tinu8805 Owned by: tinu8805
Priority: major Milestone: 2.0.0
Component: ui.resizable Version: 1.8
Keywords: Cc:
Blocked by: Blocking:
Description

I found a very strange behavior of <option selecteded> within a <select>. selected options are NOT posted to the action page if resizable is applied to the <select> tag on FF 3.6.3 and O10.51. In IE 8 it still works.

Here's the code that generates the problem:


<select name="show_id" size="#min (select_height, get_shows.recordcount)#" multiple
<!--- 
   class="resizable"
--->
   style="width:95%"
   onchange="if (this.form.show_id.selectedIndex < 0) {
                this.form.price_1_text.value = 'na';
                this.form.price_1.value = 'na';
                this.form.price_2_text.value = 'na';
                this.form.price_2.value = 'na';
                this.form.price_3_text.value = 'na';
                this.form.price_3.value = 'na';
                this.form.price_4_text.value = 'na';
                this.form.price_4.value = 'na';
             } else {
                this.form.price_1_text.value = a[this.form.show_id.selectedIndex][0];
                this.form.price_1.value      = a[this.form.show_id.selectedIndex][1];
                this.form.price_2_text.value = a[this.form.show_id.selectedIndex][2];
                this.form.price_2.value      = a[this.form.show_id.selectedIndex][3];
                this.form.price_3_text.value = a[this.form.show_id.selectedIndex][4];
                this.form.price_3.value      = a[this.form.show_id.selectedIndex][5];
                this.form.price_4_text.value = a[this.form.show_id.selectedIndex][6];
                this.form.price_4.value      = a[this.form.show_id.selectedIndex][7];
             }">
   <cfloop query="get_shows">
      <option value="#HASH#" selected>#trname#, #name#</option>
   </cfloop>
</select>

This is coldfusion, so <!--- ---> are comments, #...# is evaluated at the server.

Visually, everything looks identically as before without the resizable class, but ANY selected value is no longer posted to the server if I apply the resizable class. This is strange, because resizable works fine in other places, also multiple times on one page. On the failing page it is the 2nd time resizable is used, the 1st time on a <textarea>.

Strange is that with MS IE 8 it still works correctly. I was hinted to that by a customer who works with IE wanting to switch to FF where the code no longer works.

Attachments (0)
Change History (4)

Changed October 19, 2010 03:29PM UTC by scottgonzalez comment:1

priority: criticalmajor

Changed October 11, 2012 06:22PM UTC by scottgonzalez comment:2

owner: → tinu8805
status: newpending

Are you still seeing this behavior? If so, please provide a live reduced test case showing the problem.

Changed October 11, 2012 09:07PM UTC by scottgonzalez comment:3

milestone: TBD2.0.0

Changed October 26, 2012 08:56AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!