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

✨ [#5016] Referentielijsten dataSrc for options #204

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Jan 14, 2025

closes open-formulieren/open-forms#5016 partially

Requires open-formulieren/types#64 to be merged and released

TODO:

  • add tests + stories (for select/selectboxes/radio)
    • auto select first option
  • fix duplicate editform name
  • tabellen code select: format date?
  • if no tabellen found -> display textfield?
  • prefix service and code with referentielijsten?
  • fix preview message displaying message id
  • incorrectly adds editform-... to component?

low prio:

  • normalize options type to have id and label instead

@stevenbal stevenbal marked this pull request as draft January 14, 2025 15:56
@stevenbal stevenbal force-pushed the feature/5016-data-source-referentielijsten branch 2 times, most recently from e462b1c to cb70661 Compare January 24, 2025 15:22
@stevenbal stevenbal force-pushed the feature/5016-data-source-referentielijsten branch 4 times, most recently from ef817f1 to 2a6c27b Compare January 28, 2025 11:49
dynamically fetch options for select, selectboxes and radio components
@stevenbal stevenbal force-pushed the feature/5016-data-source-referentielijsten branch from 2a6c27b to 75b0595 Compare January 28, 2025 12:47
@stevenbal stevenbal changed the title 🚧 [#5016] Referentielijsten dataSrc for options ✨ [#5016] Referentielijsten dataSrc for options Jan 28, 2025
@stevenbal stevenbal force-pushed the feature/5016-data-source-referentielijsten branch from 75b0595 to dc64d1b Compare January 28, 2025 15:18
previously this was a textfield, now it's a react-select populated with the tabellen for the selected service
@stevenbal stevenbal force-pushed the feature/5016-data-source-referentielijsten branch from dc64d1b to 28efb98 Compare January 28, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an extra data source option (Referentielijsten API) on the basic tab
1 participant