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

Dynamically changing Inputs on option selection in a DropDownInput #5300

Open
unannn opened this issue Dec 17, 2024 · 0 comments
Open

Dynamically changing Inputs on option selection in a DropDownInput #5300

unannn opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@unannn
Copy link

unannn commented Dec 17, 2024

Feature Request

Whenever I select an item in options via DropDownInput, I want to dynamically show the inputs at the bottom depending on the item (the inputs can be one or multiple depending on the item).

However, the update_build_config method is not called every time I select an item in options. Is there any way to make it so that I can modify build_config every time I select an item in options?

In the current situation, the Inputs are dynamically generated on the first selection, but when I try to select another item, I get the error below.

Translated with DeepL.com (free version)
스크린샷 2024-12-17 오전 10 45 06

Motivation

This was an issue I encountered while developing CustomComponent.

Your Contribution

No response

@unannn unannn added the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant