This took me so long to figure out.
So I'm working on a new views filter (the boundary filter in the geolocation module here on d.o). That filter has a value form, but currently no operators. This will be important in a moment.
When you open the settings window in the views admin area, you do see label & description, then the value form, and then nothing. All additional options are invisible. They exist in the HTML, but outside of the modal area and can therefor not be interacted with, except using browser tools. See attached image.
The reason for this is, that Claro in claro_form_views_ui_config_item_form_alter() more or less unconditionnally adds 1 open div before the operator form part, and 1 closing div after the value form part, obviously assuming, they would always both be present.
This IMHO already structures additional option form elements in a weired way, when it works as intended, but when there is no operator to begin with, it just breaks. See attached image to get an idea. The --operator part will not be rendered for lack of content.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2023-12-07 085620.png | 168.42 KB | christianadamski | |
| Screenshot 2023-12-07 085750.png | 107.43 KB | christianadamski |
Comments
Comment #2
christianadamski commentedCreated #3406704: showOperatorForm - Do not add empty prefix/suffix as a potential follow-up
Comment #3
smustgrave commentedNot suer I fully understand the issue? And does the follow up fix the issue?
Comment #4
christianadamski commentedQuoting Lendude from the linked issue:
I'm not sure either.
Comment #6
smustgrave commentedSo what was decided should this be re-opened (Moved to active?)
Comment #7
smustgrave commentedMay an IS update could help decide.