Steps to produce:
Create form with dropdown. this dropdown is getting its values from custom API.
View form renderer and select any value from the values returned in the API.
Save the form any where you want.
Open the form renderer again by assigning the form configuration and the form data.
Result: the selected dropdown value is not reflected.
The main reason: the value is injected Before the API response returned.
The form renderer should wait till all api calls finish then should inject the form data and render.
Steps to produce: Create form with dropdown. this dropdown is getting its values from custom API.
View form renderer and select any value from the values returned in the API. Save the form any where you want. Open the form renderer again by assigning the form configuration and the form data.
Result: the selected dropdown value is not reflected.
The main reason: the value is injected Before the API response returned. The form renderer should wait till all api calls finish then should inject the form data and render.