Changeset 7526

Show
Ignore:
Timestamp:
03/06/07 04:12:46 (22 months ago)
Author:
doughays
Message:

Fixes #1651. Testcase added to tests/form/test_validate.html

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/form/test_validate.html

    r7463 r7526  
    451451                                        dojoType="dijit.form.Textbox" /> 
    452452                        </div> 
     453 
     454                        <div class="formQuestion"> 
     455                                <span class="emphasize"><label for="ticket1651">Trac ticket 1651:  </label></span> 
     456                                <span class="noticeMessage">value: null should show up as empty</span> 
     457                        </div> 
     458                        <div class="formAnswer"> 
     459                                <input id="ticket1651" class="medium" value="not null"/> 
     460                        </div> 
     461<script> 
     462        // See if we can make a widget in script and attach it to the DOM ourselves. 
     463        dojo.addOnLoad(function(){ 
     464                var props = { 
     465                        name: "ticket1651", 
     466                        id: "mname", 
     467                        value: null 
     468                }; 
     469                var refNode = document.getElementById("ticket1651"); 
     470 
     471                var w = new dijit.form.Textbox(props, refNode); 
     472        }); 
     473</script> 
    453474<script> 
    454475        function displayData() {