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

Select component refreshOn based on select in a different container #5362

Open
tiberiu89 opened this issue Oct 5, 2023 · 0 comments
Open

Comments

@tiberiu89
Copy link

Hi,

Short story, I have groups of components(a hidden and a select) that represents an enumeration value(group and code)
The issue is I have a form where I need to chain 3 of these groups(held in a container) and they need to refresh when the select they depend on changes. From what I can tell there is a logic in place that does not allow this. Is there a workaround? It would be really nice if refreshOn can accept nested keys, like select1.code.

If this is not possible, any suggestions maybe on how to do this the other way around, force refresh the select with custom javascript, by checking if the parent select changed value. It sounds like I need to store some state in the components itself(maybe leverage its JSON schema?) I'm open to anything that could work, no matter how hackish.

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