This module provides a custom widget for taxonomy term reference field that:
• Display as a tree-like structure.
• Allow adding new term directly in the entity form.
• Able to be placed in sidebar instead of main form.
Requirements
This module requires Drupal 8.8 or later.
Dependencies
This module requires no external dependency. While it is still recommended to use Composer, you can install it using legacy methods without issue.
Usage
1. In "Manage form display", select "Taxonomy Widget Plus" for your taxonomy term referenced field(s).
2. There are four options you can use to customize the behavior of the widget:
• Place field in sidebar
• Collapsed by default
• Use scrollbar
• Hide parent field
3. Save the config and you're ready!
Similar projects and how they are different
Taxonomy Term Reference Tree Widget
This module focus on a hierarched tree presentation of taxonomy terms. While our module also use a tree-like structure display, it lacks some UI features (e.g. minimize buttons, limit tree depth). Our module however provides other features beside the tree display, such as inline "Add new" for term, or able to be placed into sidebar.
Term Reference Fancytree
This module excels at handling a large display & selection of terms, using approaches such as dynamic loading and quicksearch by typing first-letters. It works great with deeply hierarchical term list, as it only loads child terms when necessary. However, you may find it a bit clunky to use for smaller term list, as there is no option to display all terms as once without clicking on expand arrows. It also uses a custom styled checkboxes which does not blend very well into the default Drupal backend style.
As for differences:
- Our module does not require any external library/dependency.
- At the moment we do not focus on site that have very large term list, though we do have plan to improve performance for those sites on later release.
- Instead, we currently focus on making the term selection process a breeze for content editors by providing a neat & clear UI. Content editors come from other CMS like Wordpress should be familiar with the boxed-style, sidebar placement of our widget.