Create delay/wait when clicking tab
Hi!
We have a scenario with the following two requests:
- Have a dropdown automatically set to the first value if the list only contains one value (it's sourced by a parameterized data page), otherwise have a placeholder.
- Make the dropdown next in taborder after the field above (field X) so that you from an accessibility point of view can tab directly to it.
To solve the first request we've actually added another property with another visibility expression but without the placeholder (so the dropdown control with a placeholder is only visible when the list contains more than one item, and the dropdown control without a placeholder is only visible when the list only contains one item).
Regarding the second request we have a delay issue that makes the tabbing occur before the dropdown becomes visible. Hence, it gets skipped.
We've tried to specify an action set under field x that says on event: tab key - set focus to dropdown list. However, here we need to specify what property that should get the focus with the result that this only works with one of the two dropdowns since they use the same property.
So, is there a way to just "delay" the tabbing a bit so that the visibility condition for the correct dropdown has the time to kick in?
Any help will do!
Fanny