Hi,
I have a FormItem mouse focus lost vs. validation triggering issue.
The problem is that when a user enters an invalid value in a field and then tries to
click the picker icon with his mouse, the picker icon moves away to bring up the
error icon. Therefore the user's mouse click gets lost and doesn't get processed ...
You can use the following code to reproduce:
Steps to reproduce using the above code:
1) enter an invalid value in the date field using the keyboard (e.g.: 'hjdsfhjfd')
2) while the cursor is still within the date field, use your mouse and click the date picker icon
3) the date picker icon moves away under your mouse to show the error icon
The problem happens for any field that has a "picker" icon and on which
the errorOrientation property is set to 'right' ...
Would it be possible to invert the picker icon and error icon to have this situation
prevented ? Any other fix or solution you can provide ?
Thanks,
I have a FormItem mouse focus lost vs. validation triggering issue.
The problem is that when a user enters an invalid value in a field and then tries to
click the picker icon with his mouse, the picker icon moves away to bring up the
error icon. Therefore the user's mouse click gets lost and doesn't get processed ...
You can use the following code to reproduce:
Code:
isc.DynamicForm.create({ ID: "dateForm", numCols : 2, titleOrientation : "left", width : 600, errorOrientation : 'right', showErrorText : false, showErrorIcons : true, fields: [ { name:"dateInput", title:"Test", type:"date", useTextField:true, validateOnExit : true } ] });
1) enter an invalid value in the date field using the keyboard (e.g.: 'hjdsfhjfd')
2) while the cursor is still within the date field, use your mouse and click the date picker icon
3) the date picker icon moves away under your mouse to show the error icon
The problem happens for any field that has a "picker" icon and on which
the errorOrientation property is set to 'right' ...
Would it be possible to invert the picker icon and error icon to have this situation
prevented ? Any other fix or solution you can provide ?
Thanks,
Comment