Changeset 13384
- Timestamp:
- 04/22/08 17:02:33 (7 months ago)
- Location:
- dijit/trunk
- Files:
-
- 2 modified
-
form/_FormWidget.js (modified) (1 diff)
-
tests/form/test_validate.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/form/_FormWidget.js
r13055 r13384 332 332 } 333 333 } 334 else if(this.intermediateChanges){ 335 var _this = this; 336 // the setTimeout allows the key to post to the widget input box 337 setTimeout(function(){ _this._handleOnChange(_this.getValue(), false); }, 0); 338 } 334 339 return true; 335 340 } -
dijit/trunk/tests/form/test_validate.html
r12730 r13384 62 62 <div class="dojoTitlePaneLabel"> 63 63 <label for="q01">First Name: </label> 64 <span class="noticeMessage"> TextBox class, <b>tabIndex=2</b>, Attributes: {trim: true, propercase: true, style: 'width:700px'}, First letter of each word is upper case.</span>64 <span class="noticeMessage"> TextBox class, <b>tabIndex=2</b>, Attributes: {trim: true, propercase: true, intermediateChanges: true, style: 'width:700px'}, First letter of each word is upper case.</span> 65 65 </div> 66 66 <div class="testExample"> … … 71 71 onblur="console.log('user onblur handler')" 72 72 onChange="dojo.byId('oc1').value=arguments[0]" 73 intermediateChanges="true" 73 74 propercase="true" /> 74 75 <br>onChange:<input id="oc1" size="34" disabled value="not fired yet!" autocomplete="off">