sethsandaru / vue-form-builder

Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.
http://vue-form-builder.sethphat.com
MIT License
413 stars 129 forks source link

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

Open keqhash opened 2 years ago

keqhash commented 2 years ago

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.