vue-form-builder icon indicating copy to clipboard operation
vue-form-builder copied to clipboard

Dropdown API based values are not reflecting the selected value in renderer

Open keqhash opened this issue 3 years ago • 0 comments

Steps to produce: Create form with dropdown. this dropdown is getting its values from custom API. image

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. image

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.

keqhash avatar Mar 09 '22 22:03 keqhash