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

Adding a new field in between based upon selected value from dropdown #551

Closed
roma13121990 opened this issue Apr 20, 2017 · 3 comments
Closed

Comments

@roma13121990
Copy link

Hi,

I need to add a new field dynamically in between, once a specific value from the dropdown(existing field in the form) is selected.
Are there any such examples.Could you please guide me.

@revolunet
Copy link
Contributor

maybe this example ? https://jsfiddle.net/69z2wepo/68259/

@roma13121990
Copy link
Author

I have forked the above fiddle- https://jsfiddle.net/p1450256/6qrLwjkb/

The task which I need to accomplish is that on selecting "Basic" from role dropdown, another new field should be added just below the role dropdown.

And there should be a state maintained at the same time as we are doing this inside an array.

@glasserc
Copy link
Contributor

This sounds like #52, which we don't support right now (although a PR would be interesting).

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

3 participants