Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Tab-Navigation - Content of input field after date input field won't be selected

$
0
0
Hi,

we encountered a problem on IE 10 (detailed version number unknown) and 11.0.9600 to focus a text input field directly after a date input field when we navigate by the tab key.
On each tab key press the following field is focused and the content is selected, but if the previous field is a date input field the field will be focussed but the content does not get selected.

Even setting the "selectOnFocus" option manually - like in the following example - won't fix this problem.
This behaviour could not be reproduced on Chrome or Firefox and was testet with the feature explorer and the isc build v9.0p_2014-02-17.

The following example shows the problem: Select the text in the first text input field and navigate by tab. When the first input field after the date field is focused,
the content won't be selected. If you press tab again at this point the content of the next input field will be selected correctly.

http://www.smartclient.com/docs/9.0/a/system/reference/SmartClient_Explorer.html#timeItem

Code:

isc.DynamicForm.create({
    width : 300,
    fields : [{
            title : "Item",
            type : "text",
value: '20:15'
        }, {
            title : "Item",
            type : "date"
        }, {
            title : "Item",
            type : "time",

selectOnFocus: true,
value: '20:15'
        }, {
            title : "Item",
            type : "time",
            selectOnFocus : true,
value: '20:15'
        }, {
            title : "Item",
            type : "time",
value: '20:15'
        },
    ]
});

Do you have a solution for this problem?

Kind regards,

Viewing all articles
Browse latest Browse all 4756

Trending Articles