You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a form using the form builder and added a select field. The list of options for the Select field must come from an API endpoint that requires authentication and authorisation, and also filters the available options based on the user who makes the request.
I am able to generate this list of options within my Next.js application, so there's no need for me to do it again via the form builder. Therefore, I would like to know how I can pass this JSON, that I already have in my application, into the form's select field. How would I do that?
NOTE: I'm using formio-react to display the form (using the src prop of the form component).
Also, I looked at the documentation on Select data source options, but I don't think any of the examples there cover this scenario
The text was updated successfully, but these errors were encountered:
I have created a form using the form builder and added a select field. The list of options for the Select field must come from an API endpoint that requires authentication and authorisation, and also filters the available options based on the user who makes the request.
I am able to generate this list of options within my Next.js application, so there's no need for me to do it again via the form builder. Therefore, I would like to know how I can pass this JSON, that I already have in my application, into the form's select field. How would I do that?
NOTE: I'm using formio-react to display the form (using the src prop of the form component).
Also, I looked at the documentation on Select data source options, but I don't think any of the examples there cover this scenario
The text was updated successfully, but these errors were encountered: