Bring back icons before select fields
With the removal of
iconsInOptionTags the icon prepended to
select fields was dropped too even though it doesn't suffer from bad browser support:
This should be added again and cleaned up a bit, e.g. to switch the icon before the confirmation dialog triggered by
requestUpdate is shown which was the other way around previously.
[TASK] Add prepended icon to SelectSingleElement
This brings back the select prepend icon and moves all event
handling for updating it to a RequireJS module.
Also moves all remaining event handling to the module including
FormEngine "fieldChangeFunc" and "onFocus".
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
Reviewed-by: Michael Oehlhof <firstname.lastname@example.org>
Tested-by: Michael Oehlhof <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Tested-by: Wouter Wolters <email@example.com>