Changes between Initial Version and Version 1 of Ticket #11221


Ignore:
Timestamp:
Jun 30, 2010, 8:48:52 AM (10 years ago)
Author:
bill
Comment:

I tried this against 1.5, on FF3.6/mac.

1) Runtime error: 'node is undefined'. Removing the attribute value='null' and replacing with defaultValue= resolves the runtime error.

This didn't reproduce for me, using your test file against 1.5.

2) If first item is selected in drop-down, neither event handler is triggered.

You should only be using onChange, not the DOM event onchange. Anyway, on selecting the first item, I see a console.log() that there was an onChange event.

3) If a user clicks the drop down, doesn't make a selection, and then clicks elsewhere on the form, clicks submit, dijitform.validate() passes even though the user never made a selection to a required field.

Aappears to be fixed. I opened the drop down for the first select box, but then clicked elsewhere on the page to close the drop down w/out selecting anything. On pressing "submit" it displays an error message.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11221

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
    • Property Milestone changed from tbd to 1.5
  • Ticket #11221 – Description

    initial v1  
    22The attached works fine in 1.3.3, but fails in a number of ways in 1.4.3.
    33
    4 When I setup a FilteringSelect that is required and has an empty default value, a declarative DOM onchange and dijit onChange event handlers, the following problems are encountered in 1.4.3.
     4When I setup a !FilteringSelect that is required and has an empty default value, a declarative DOM onchange and dijit onChange event handlers, the following problems are encountered in 1.4.3.
     5
    561) Runtime error: 'node is undefined'. Removing the attribute value='null' and replacing with defaultValue='' resolves the runtime error.
     7
    682) If first item is selected in drop-down, neither event handler is triggered.
     9
    7103) If a user clicks the drop down, doesn't make a selection, and then clicks elsewhere on the form, clicks submit, dijitform.validate() passes even though the user never made a selection to a required field.