At some point in the last week or so, the 5.x-8.x-dev branch stopped displaying any predefined options; editing elements that rely on even yes/no now gives me only an empty select field in the field editor modal. The definitions on the Predefined Options page are all still there, and all the fields work fine, at least until you edit them. Anyone else notice that?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | predefined_options-2860058-7.patch | 1.01 KB | jrockowitz |
| #6 | Screenshot 2017-03-25 14.24.53.png | 21.71 KB | gg4 |
Comments
Comment #2
jrockowitz commented@CatherineOmega I can't duplicate this issue.
Can you upload an example?
Can you duplicate the issue using https://simplytest.me/project/drupal/8.2.x?add[]=webform?
Is there an example form or template that I could use to replicate this issue?
Comment #3
CatherineOmega commented@jrockowitz yeah, I totally can't reproduce it on another install. I have no idea what I did, but I'll have to take a look at the database to figure this out. Argh.
At least it works if I create a new form via YAML in the meantime.
Comment #4
jrockowitz commentedI would bet that if you turn off javascript, the options will display. I think the issue is related to the Select2 element being hidden in the modal dialog.
You could also try right clicking on 'Edit' link for an element and opening a new tab.
Comment #5
jrockowitz commentedComment #6
gg4 commentedSeeing this as well after upgrading from
8.x-5.0-beta9to the latest dev.Comment #7
jrockowitz commentedI am pretty sure that #2858139: Add OptGroup support to WebformOption entity. is causing this issue.
Please try the attached patch, which I will probably just commit when all the tests pass.
Comment #8
gg4 commentedWill do and report back. Also updating locally installed libraries as these have changed a bit as well in
8.x-5.0-beta9to the latest dev.Comment #10
jrockowitz commentedI committed the patch. Please download the latest dev release to review.
Comment #11
gg4 commentedOptions are back. Nice work!
Comment #12
CatherineOmega commentedWorks great, plus I'm glad to learn I totally didn't bungle updating this dev site like I thought!