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

Parameters for dynamic_select elements #73

Open
pennings-tamu opened this issue Jan 26, 2025 · 0 comments
Open

Parameters for dynamic_select elements #73

pennings-tamu opened this issue Jan 26, 2025 · 0 comments

Comments

@pennings-tamu
Copy link
Collaborator

Investigate possibility to add form parameters to a dynamic select call. E.g. in schema.json

"mydropdown" : {
"type" : "select",
"name" : "myselect"
"options": [
{
"value": "option",
"label": "Option 1"
},
{
"value": "option2",
"label": "Option 2"
}
]
},

"mydynamic" : {
"type" : "dynamic_select",
"retriever" : "retriever_func($myselect)"
}

In the code snippet, the dynamic retriever function will pass in the value of "myselect" to retriever_func.

Investigate if this is feasible in the current implementation,

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

No branches or pull requests

1 participant