Hi there,
There seems to be an issue using autoFocus in DynamicForm. If enabled, the form doesnt fire the submit-event. We are currently testing SmartClient_v100p_2014-10-15_Pro and its tested on latest versions of Firefox and Chrome. I'm pretty sure it also happens in previous version of smartclient (9.1)
Here's a example you can paste it in here.
Also the default behaviour of the autoFocus was changed between 9.1 and 10.0. The value of the item is no longer selected completly instead the only the cursor is at the end. Was this supposed to happen? You can take a look at this, when you copy the same code in here
Best Regards
Simon
There seems to be an issue using autoFocus in DynamicForm. If enabled, the form doesnt fire the submit-event. We are currently testing SmartClient_v100p_2014-10-15_Pro and its tested on latest versions of Firefox and Chrome. I'm pretty sure it also happens in previous version of smartclient (9.1)
Here's a example you can paste it in here.
Also the default behaviour of the autoFocus was changed between 9.1 and 10.0. The value of the item is no longer selected completly instead the only the cursor is at the end. Was this supposed to happen? You can take a look at this, when you copy the same code in here
Code:
isc.DynamicForm.create({ "ID" : "formID", "submit" : function () { alert('submit fired'); }, "autoFocus" : true, "selectOnFocus" : true, "saveOnEnter" : true, "readOnlyDisplay" : "static", "fields" : [{ "ID" : "start", "name" : "start", "title" : "The date", "type" : "date", "textAlign" : "left", "parseEditorValue" : function (value, form, item) { return value; }, "useTextField" : true, "showChooserWeekPicker" : true } ], "values" : { "start" : "01.10.2014" } })
Simon
Comment