- Issue created by @attheshow
- Assigned to rymcveigh
- πΊπΈUnited States rymcveigh
This looks to be a bug. I created a test webform on a vanilla Drupal 10 website. The autosave functionality worked except for the image select element. I suspect it is because the JS listener is not triggering when the image is selected. I altered the category of this issue to be a bug.
- last update
about 1 year ago 2 pass - @rymcveigh opened merge request.
- Status changed to Needs review
about 1 year ago 10:00pm 9 October 2023 - πΊπΈUnited States rymcveigh
To get the listener to work on the select created by the image picker jQuery library, we needed to add a change event listener to selects. I added the listener to the attached merge request. I've attached the config yaml for the test webform I created when working on this issue.
- last update
about 1 year ago 2 pass - Status changed to RTBC
about 1 year ago 2:38pm 10 October 2023 - πΊπΈUnited States attheshow
This looks like it's working quite well! Thanks so much for your help!
Sorry, I have one additional question (and please feel free to let me know if I need to open an additional support request). I'm wondering about the initial draft when the user first views the form. Is there any way to turn that off until they've made at least one selection in the form? Right now it seems to be saving a draft before they've even interacted with anything.
- last update
about 1 year ago 2 pass -
rymcveigh β
committed f5e73248 on 2.0.x
Issue #3391755 by attheshow: Autosaving After Change to...
-
rymcveigh β
committed f5e73248 on 2.0.x
- Status changed to Fixed
about 1 year ago 9:10pm 16 October 2023 - πΊπΈUnited States rymcveigh
Is there any way to turn that off until they've made at least one selection in the form? Right now it seems to be saving a draft before they've even interacted with anything.
Unfortunately we need to have a draft to save to before a selection is made. We explored this in issues #3145769 and #3103887
Automatically closed - issue fixed for 2 weeks with no activity.