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.
I'm just looking for guidance on how to make some changes to a form..
A client wants a form with select options only.
The fields that are generated from taxonomies give you the option for a drop down, So I'm good here.
However, a few of the form fields by default are text fields.
I've looked into a module solution but better exposed filters don't have a dropdown option for input fields.
Unfortunately the using "CSS class" under "Advanced" doesn't work, because Views wraps another class between the class added by me and he actual nodes.
my website menu has multiple levels. On the mobile version, I am working with Accordion elements to expand/collapse them. I want to realize my menu without JS and with CSS only. Therefore, I use checkboxes to trigger the accordion elements to expand/collapse.
For the mobile menu, I created a custom twig template. I added the complete Code below.
Since the checkboxes in my menu are invisible, I work with label elements. Therefore, my checkboxes and the labels have IDs to assign them correctly.