Display Selected and Unselected
Provides the field formatters to display all selected and unselected values of a list field.
The module supports the following field types: List (text), List (float), List (integer).
If 'Allowed number of values' of a field is equal 1, then the field values rendered as 'radio' elements. In other cases field values rendered as 'checkboxes'.
The module provides two formatters:
1) 'Display selected and unselected values'
(can be used for output of values of a list field).
2) 'Display selected and unselected keys'
(can be used for output of keys of a list field).
Also the module provides Twig templates which can be used for customisation of the HTML output.
Uses
1. Visit 'Manage display' tab of your content type.
2. If you need to display values of a list field, then select 'Display selected and unselected values' formatter.
But if you need to display keys, then select 'Display selected and unselected keys' formatter.
3. Click on the 'Save' button.
Similar projects
Selected and unselected values formatter - is the analogue for Drupal 7.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 8.x-1.1 | Stable | Jul 5, 2023 |