-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.12.0, 7.10.13, 7.11.7
When using generated form, the select form displays an empty "undefined" option
This is removed once the user selects an option
Root cause
1. We fetch variables asynchronously to prefill the form with values already present in the process variables. At this moment, no value is selected
2. During the async request, angular enters a digest cycle. Because the selected Value is undefined, it creates a new option
3. Once fetched, the Value is set correctly, but the undefined value remains. It seems that we do not force angular to re-render the form again
4. with user-input, angular "notices" changes and removes the undefined option
Possible solution
Run `angular.apply()` to force an angular update when selecting the value