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.
when set 'Force selection of deepest level' "none" should not be available in the option list as deepest term.
Comment | File | Size | Author |
---|---|---|---|
shs_none_value.PNG | 2.67 KB | kaizerking | |
shs_conf.PNG | 7.68 KB | kaizerking |
Comments
Comment #1
stBorchertSorry, but this won't work.
I've tried to implement this but it causes more problems (for example setting an initial value in the next level would require to create the next-but-one level also but this won't happen until the user selects a value).
Leaving
- None -
as an option would force the user to select a value from the dropdown and ensures all preceding js magic is executed correctly.Comment #2
kaizerking CreditAttribution: kaizerking commentedI ca understand that.
But can this help you Chosen ajax or chosen to hide none some how?
Comment #3
stBorchertHiding the option is not the problem (from a technical perspective). The main problem here is that the user needs to manually select an option to make all the background-functions do their work (for example "display dropdown for the next level").
If I remove
- None -
the user action needs to be triggered automatically for the first option and this leads to more problems ...Comment #4
kaizerking CreditAttribution: kaizerking commentedHmm, ok .