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 constants for component.openForms.dataSrc values #5044

Closed
viktorvanwijk opened this issue Jan 27, 2025 · 1 comment · Fixed by #5080
Closed

Add constants for component.openForms.dataSrc values #5044

viktorvanwijk opened this issue Jan 27, 2025 · 1 comment · Fixed by #5080

Comments

@viktorvanwijk
Copy link
Contributor

Components Select, SelectBoxes, and Radio can use another variable as a data source. In the component, this is displayed as follows:

component: Component = {
     ...
     "openForms": {
        "dataSrc": "manual",
        ...
     },
     ...
}

where dataSrc can be "manual" or "variable".

#5007 will introduce checks on this data source, and #4996 will introduce a new one: "referentielijsten".

Might be good to add a constant for this.

@viktorvanwijk
Copy link
Contributor Author

Also, the OpenFromsConfig typed dict does not contain a dataSrc field.

@stevenbal stevenbal moved this from Todo to In Progress in Development Feb 4, 2025
@stevenbal stevenbal moved this from In Progress to Implemented in Development Feb 4, 2025
sergei-maertens added a commit that referenced this issue Feb 5, 2025
…constants

♻️ [#5044] Add constant for dataSrc options
@github-project-automation github-project-automation bot moved this from Implemented to Done in Development Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants