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

Only Show 1 Form at a Time with OnChange Not Working & Not Saving #117

Closed
CedYF opened this issue Aug 23, 2019 · 2 comments
Closed

Only Show 1 Form at a Time with OnChange Not Working & Not Saving #117

CedYF opened this issue Aug 23, 2019 · 2 comments
Labels
question Further information is requested

Comments

@CedYF
Copy link

CedYF commented Aug 23, 2019

I have a list of 3 FormBuilderRadio.

I only want to show one a time so I'm wrapping them in a visibility widget.

But when I use the onChange function to change the visibility, it doesn't save the value of the Radio that the user selected.

the onChange seems to replace saving the value...

Is there anyway to fix this?

@danvick
Copy link
Collaborator

danvick commented Aug 25, 2019

Hi,
The form value is usually saved when the save() function is called.
You could invoke the save function within your onChange so that the value is committed.

@danvick
Copy link
Collaborator

danvick commented Aug 29, 2019

Hi,
The form value is usually saved when the save() function is called.
You could invoke the save function within your onChange so that the value is committed.

Hi @CedYF,
Has this been of any help? Should we close this issue?

@danvick danvick added the question Further information is requested label Aug 29, 2019
@danvick danvick closed this as completed Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants