Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an extra data source option (Referentielijsten API) on the basic tab #5016

Open
1 of 3 tasks
Tracked by #4926
stevenbal opened this issue Jan 14, 2025 · 0 comments · May be fixed by open-formulieren/formio-builder#204, open-formulieren/types#64 or #5036
Open
1 of 3 tasks
Tracked by #4926

Comments

@stevenbal
Copy link
Contributor

stevenbal commented Jan 14, 2025

  • When selected, display a react-select widget to select a service to populate from (if there is only one referentielijst service, automatically select that one)
  • When the service is selected, display a react-select widget to select the code of the tabel (populated from the tabellen list of the API /api/v1/tabellen), in parentheses display the einddatumGeldigheid (or a boolean if this date is in the past)
  • When the editform is saved, openForms.dataSrc should be set to referentielijsten
@stevenbal stevenbal changed the title Add an extra data source option (Referentielijsten API) on the basic tab (might be good to move to a separate Source tab if the form ends up becoming too complex) Add an extra data source option (Referentielijsten API) on the basic tab Jan 14, 2025
@stevenbal stevenbal moved this from Todo to In Progress in Development Jan 14, 2025
@stevenbal stevenbal self-assigned this Jan 14, 2025
stevenbal added a commit that referenced this issue Jan 24, 2025
and modify the services API endpoint to retrieve referentielijsten services based on a query parameter
@stevenbal stevenbal linked a pull request Jan 24, 2025 that will close this issue
12 tasks
stevenbal added a commit to open-formulieren/types that referenced this issue Jan 27, 2025
…tions

dynamically fetch options for select, selectboxes and radio components
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 27, 2025
dynamically fetch options for select, selectboxes and radio components
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
dynamically fetch options for select, selectboxes and radio components
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
dynamically fetch options for select, selectboxes and radio components
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
dynamically fetch options for select, selectboxes and radio components
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
dynamically fetch options for select, selectboxes and radio components
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit that referenced this issue Jan 28, 2025
and modify the services API endpoint to retrieve referentielijsten services based on a query parameter
stevenbal added a commit that referenced this issue Jan 28, 2025
this endpoint is used by the formio builder to populate the select widget with tabellen to populate select/selectboxes/radio component options from
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
previously this was a textfield, now it's a react-select populated with the tabellen for the selected service
stevenbal added a commit to open-formulieren/formio-builder that referenced this issue Jan 28, 2025
previously this was a textfield, now it's a react-select populated with the tabellen for the selected service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment