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

When loading the formstep perform a service fetch operation to populate the component choices #4993

Open
3 tasks done
Tracked by #4926
stevenbal opened this issue Jan 7, 2025 · 0 comments · May be fixed by #4996
Open
3 tasks done
Tracked by #4926

Comments

@stevenbal
Copy link
Contributor

stevenbal commented Jan 7, 2025

Steps:

  • by performing a request to /api/v1/items?tabel__code=<code>
  • Implement in openforms.formio.dynamic_config.dynamic_options.add_options_to_config
  • it could instantiate a ServiceFetchConfiguration object
@stevenbal stevenbal changed the title When loading the formstep perform a service fetch operation to populate the component choices, by performing a request to /api/v1/items?tabel__code=<code>. Implement in openforms.formio.dynamic_config.dynamic_options.add_options_to_config, it could instantiate a ServiceFetchConfiguration object (without saving) to make use of that to fetch the data When loading the formstep perform a service fetch operation to populate the component choices Jan 7, 2025
stevenbal added a commit that referenced this issue Jan 7, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Referentielijsten API
stevenbal added a commit that referenced this issue Jan 7, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 7, 2025
@stevenbal stevenbal self-assigned this Jan 7, 2025
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Referentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Referentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Referentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
this should result in a hard crash of the form
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
this should result in a hard crash of the form
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
this should result in a hard crash of the form
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
this should result in a hard crash of the form
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
this should result in a hard crash of the form
stevenbal added a commit that referenced this issue Jan 13, 2025
this should result in a hard crash of the form
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
stevenbal added a commit that referenced this issue Jan 13, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 13, 2025
to be used for unittests with VCR and local development
@stevenbal stevenbal moved this from In Progress to Implemented in Development Jan 13, 2025
stevenbal added a commit that referenced this issue Jan 14, 2025
…sten

this was previously possible with logic and service fetch, but this functionality provides a shortcut to more easily integrate with Re ferentielijsten API
stevenbal added a commit that referenced this issue Jan 14, 2025
to be used for unittests with VCR and local development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Implemented
1 participant