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

How to set values, when returning to the survey page? #6

Open
jdar opened this issue Dec 27, 2022 · 5 comments
Open

How to set values, when returning to the survey page? #6

jdar opened this issue Dec 27, 2022 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jdar
Copy link

jdar commented Dec 27, 2022

Hi Mike,

Please let me know if it is possible to re-populate the form values, after returning to the survey page? I think an optional parameter such as 'defaultValue' is needed. (Unless you know of some way to do this by interacting directly with the Form ?)

@Michelphoenix98
Copy link
Owner

Michelphoenix98 commented Dec 27, 2022 via email

@jdar
Copy link
Author

jdar commented Dec 27, 2022

Thanks Mike, for the fast response.

@dansram
Copy link

dansram commented Jan 10, 2023

Dear Mike,

could you please consider having a parameter with the question object to re-populate which answer was selected, e.g. for radio? I think index could be enough. For text questions, default value could be the string.

Thank you,
Daniel

@Michelphoenix98
Copy link
Owner

Michelphoenix98 commented Jan 11, 2023 via email

@jdar
Copy link
Author

jdar commented Jan 11, 2023

I found a different solution. But your library looks really good, so good luck!

@Michelphoenix98 Michelphoenix98 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants