Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While helping a client today, I noticed a feature that would be really helpful in this module.
The client had created a custom option list and wanted to use this as a basis to create another list containing the same options as well as new ones. Upon first glance, the ideal workflow would be:
- navigate to Webform >> Settings >> Options
- duplicate existing option list
- edit / change title of duplicated option list
- add new options to duplicated option list
The current workaround (as far as I could work out) involves creating a new option list, adding one option, then going to the existing list, copying the Source (YAML) and pasting that over the Source (YAML) of your new option list. Unless I am missing something?
Definitely a nice-to-have!
Comment | File | Size | Author |
---|---|---|---|
#4 | add_ability_to-2875688-3.patch | 5.22 KB | jrockowitz |
|
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedVery easy to do and it would be nice features.
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI like easy tickets. Right now, there are too many hard ones in the issue queue.
Attached is a patch. If all the tests pass, I will commit it.
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI committed the patch. Please download and test the latest dev release.
Comment #8
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented