Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 18300)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#10636 wontfix Select: long delay when lots of data Nathan Toone zimnyx
Description

Browser: FF 3.5.7, Opera 9.6 After I click select to see option list I must wait 4 seconds for the first time, w/further dropping-up/down performs much better. In comparsion, dijit.form.FilteringSelect with the same selcet options doesn't have such "freeze".

I'm attaching a simple HTML and JSON that contains Select and FilteringSelect, so you can see speed difference.

#12213 duplicate Select: doesn't display option with empty value. Douglas Hays zimnyx
Description

Try this code. Option with label "-------------" is not displayed at all. (FF 3.6)

<html>

    <head>
        <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js"
        djConfig="parseOnLoad: true">
        </script>
        <script>
            dojo.require("dijit.form.Select");
        </script>
    </head>
    
    <body class="claro">
        <select name="select" dojoType="dijit.form.Select">
            <option value="">-------------</option>
            <option value="TN" selected="selected">Tennessee</option>
            <option value="VA">Virginia</option>
        </select>
    </body> 
</html> 
#12977 fixed dijit.form.*: inconsistency in treating required flag and in docs on validating forms. bill zimnyx
Description

Only one dijit.form widget (ValidationTextBox?) define method _setRequiredAttr. This method calls _refreshState() which sets widget state based on required flag among others. The side effect is that only this widget returns up-to-date value of property 'state' after form is loaded.

Here are two examples proving inconsistency; both fields are empty after form is loaded:

Form A:

  • ValidationtextBox (required=true)
  • Select (required=false)
    formA.isValid()
    >>> false # it's because ValidationtextBox.get('state') == 'Incomplete', which is OK
    

Form B:

  • ValidationtextBox (required=false)
  • Select (required=true)
    formB.isValid()
    >>> true # both Select.get('state') and ValidationtextBox('state') returned "", and for Select this value is not expected. 
    

Docs states:

http://dojotoolkit.org/reference-guide/dijit/form.html
Dijit provides hooks so you can either disable the submit button, or popup an error message when the user tries to submit, or even focus on the invalid field.

Disabling submit button until form is ready to submit is not possible with Select input, because empty Select(required=True), initially returns state "", which means value is valid and ready to send, which is just not true.

Docs also states:

http://dojotoolkit.org/api/1.6/dijit/form
dijit.form.Form.validate()
returns if the form is valid - same as isValid

It's not true as formB.isValid() and formB.validate() will return opposite values on this form.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.