When a DateItem is displayed disabled and the user clicks on it a “too much recursion” error occurs. (in FF or “Stack overflow” in IE)
The following simple example displays the issue:
isc.DynamicForm.create({
fields: [
{ name: "birthday", type: "date", disabled: true}
]
});
Now click on one of the dropdown arrows. And wait until the browser yields:
too much recursion
getRowSpan()()ISC_Form…=7.0RC.js (line 658)
focusInItem()()ISC_Form…=7.0RC.js (line 1188)
getDayOptions()()ISC_Form…=7.0RC.js (line 1874)
…
focusInItem()()ISC_Form…=7.0RC.js (line 1188)
getDayOptions()()ISC_Form…=7.0RC.js (line 1874)
focusInItem()()ISC_Form…=7.0RC.js (line 1188)
getDayOptions()()ISC_Form…=7.0RC.js (line 1874)
focusInItem()()ISC_Form…=7.0RC.js (line 1188)
getDayOptions()()ISC_Form…=7.0RC.js (line 1874)
focusInItem()()ISC_Form…=7.0RC.js (line 1188)
getDayOptions()()ISC_Form…=7.0RC.js (line 1874)
focusInItem()()ISC_Form…=7.0RC.js (line 1188)
handleClick()()ISC_Form…=7.0RC.js (line 1592)
bubbleItemHandler()([SelectItem ID:isc_SelectItem_15 name:monthSelector] ns=Object name=monthSelector prompt=Choose a month, “handleClick”, [SelectItem ID:isc_SelectItem_15 name:monthSelector] ns=Object name=monthSelector prompt=Choose a month, undefined, undefined, undefined)ISC_Form…=7.0RC.js (line 566)
handleClick()(Object DOMevent=Event mouseup x=481 y=198, undefined)ISC_Form…=7.0RC.js (line 570)
bubbleEvent()([DynamicForm ID:isc_DynamicForm_13] ns=Object fields=[1] ID=isc_DynamicForm_13 $541=true, “click”, undefined, false)ISC_Core…=7.0RC.js (line 1340)
handleClick()([DynamicForm ID:isc_DynamicForm_13] ns=Object fields=[1] ID=isc_DynamicForm_13 $541=true, “click”)ISC_Core…=7.0RC.js (line 1212)
k5()(mouseup clientX=366, clientY=199, undefined)ISC_Core…=7.0RC.js (line 1199)
handleMouseUp()(mouseup clientX=366, clientY=199, undefined)ISC_Core…=7.0RC.js (line 1190)
dispatch()(function(), mouseup clientX=366, clientY=199)ISC_Core…=7.0RC.js (line 1393)
registerCallback()(mouseup clientX=366, clientY=199)