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 text field from multi-select #244

Closed
bteepell opened this issue Jun 22, 2016 · 2 comments
Closed

Add text field from multi-select #244

bteepell opened this issue Jun 22, 2016 · 2 comments

Comments

@bteepell
Copy link

Description

Question
I would like to dynamically add a field based on select of a list. Each time the user selects an entry from the list it will remove that entry from the list and add a text filed with the name of that entry from an add button.

Any suggestion?

@n1k0
Copy link
Collaborator

n1k0 commented Jun 22, 2016

I don't clearly understand the use case here, but dynamic updates of the schema can be achieved by simply passing a new schema prop to the Form component, which you can forge by listening to form data changes using the onChange event listener. This has been discussed and demonstrated in #181.

@n1k0 n1k0 closed this as completed Jun 22, 2016
@bteepell
Copy link
Author

Yes that is what I thinking. Thanks for the fast reply.

Sent from my iPhone

On Jun 22, 2016, at 9:21 AM, Nicolas Perriault notifications@github.com wrote:

Closed #244.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

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

2 participants