Issue with Radio Buttons Control
Radio buttons control focuses on first element after screen returns from local action (ok button is pressed on modal dialog).
The selected value is properly selected, but the the focus is always set to the first value.
Steps to Reproduce
1. Set radio buttons control on a section.
2. On action setting of the above, set Local Action (*any local action) for click action.
3. Click on any radio button value, and click OK on the local action.
After submitting the modal dialog it refreshes the section which launches modal dialog. It focuses the first editable element in the section. That's the reason it will select the first radio button which seems expected.
The explanation for this behavior is as follows: If having a set of radio buttons, and calling sectionReload or some refresh onChange of the radio buttons, the focus will be set on the first option of the radio button, irrespective of the option selected. The option selected has no issues, but the only issue is with the focus, which is set on the first option.
This is completely an expected behavior but it is confusing for users.
The local change of avoiding the call to sectionReload on submitting a modalDialog is not possible. This issue can be solved in only one specific scenario where you're calling the modalDialog onChange, but not all the cases gets resolved by the resolution.
0% found this useful