SM OR - undesired focus on hidden openfaces input #155

Open
hannahmez opened this Issue Jul 5, 2016 · 1 comment

Projects

None yet

2 participants

@hannahmez
hannahmez commented Jul 5, 2016 edited

The focus is on a textarea element of class o_hiddenFocusChromeSafari, and it disturbs the tabs orders for example when opening a new dialog with inputs we would like the focus to be on our first input.

on OnAir: Go to Contracts -> add a new group -> open rights types dimensions dialog
Result: the focus is not on any of our inputs
Expected: the focus is on the first input (the selected checkbox in first line)

@YurinM
Contributor
YurinM commented Jul 5, 2016 edited

You can use <o:focus component for selection separated component,
e.g.:
<o:focus focusedComponentId="anyComponent"> <o:dropDownField id="anyComponent" ></o:dropDownField>
Also, you can select separate component using js function document.getElementById("mainForm:anyComponent").focus();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment