Open dgillier opened 1 year ago
Hey, how would you see that working?
Thanks for answering ;)
This will allow to have dynamic select in Opn forms (to select product category, names, job whatever), things changing often, or with too many items to fill up manually...
I'd like to be able to make a GET/POST call to an external API returning an Array of string + IDs. This array will then be used to fill up the select.
And url + Get or Post setting params + optional header params for authentication. (POST to use GraphQL API)
Something like that ?
I was hoping for this feature as well -- I'd like to provide the ability for my users to enter a zip code and call an API to look up the city, state, etc., and populate additional form fields with the data.
Hello, I have currently deployed opensource version of OPN forms on my local using Docker.
And I was wondering how can I make the select component dynamic using the custom codes feature. Basically what I want to achieve is fetch data from an API and then populate a select component using that data.
Please guide me how can I achieve this in OPN Forms. The issue right now is I am not able to correctly pick the select component using custom codes.
Any help on this would be appreciated.
Hi @TalhaKhalil we don't currently have a guide on how to achieve this. We'll however add this feature at some point.
Will be great if it's possible to fill up selects/multiselects from API response !
Thanks for considering. Denis