-
Notifications
You must be signed in to change notification settings - Fork 19
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
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
Hey Darius,
That is a good question. It's been a while since I've visited the codebase.
I might have to upload a patch for the use case that you've defined. I
must've overlooked that bit, my apologies. I'll work on it asap.
I'll adjust it in a way that the list that is passed to the data parameter
gets modified directly so that you can store it somewhere.
…On Tue, 27 Dec, 2022, 13:26 Darius Roberts, ***@***.***> wrote:
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 ?)
—
Reply to this email directly, view it on GitHub
<#6>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJXF336NYIYW5GHDOW6WJOLWPKOK7ANCNFSM6AAAAAATKGSHHU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks Mike, for the fast response. |
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, |
Hey there!
I apologise for the delay, I've been really busy at work. I'll definitely
try patching it by the end of thebnext week. Stay tuned!
Regards,
Mike
…On Tue, 10 Jan, 2023, 21:11 dansram, ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJXF33ZIZBWRZ33BY5B7IYDWRV7K7ANCNFSM6AAAAAATKGSHHU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I found a different solution. But your library looks really good, so good luck! |
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
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 ?)
The text was updated successfully, but these errors were encountered: