Problem/Motivation
Without labels a boolean field as input widget has no label(s) that describe the selection option(s). This is a usability error. An (unexperienced) site builder is confused by the field titles and descriptions on the boolean field 'Field settings' form.
1. Add a new field of type boolean to a content type.
2. In the Field settings form, enter no 'On value' and no 'Off value'
3. Notice that in the Edit form, under 'Default values' the selection options have no label.
4. Optionally: In 'Manage form display' select the 'single on/off value' widget.
5. Create two nodes, one with this field set and one without.
6. On the node form the field's selection option(s) have no label.
7. Display both nodes: no value is displayed.
Proposed resolution
To be determined.
User interface changes
To be determined.
Original report by jramby
Hi,
I am trying to create a view by showing a field with a boolean value. In views_ui when I try to add the default publish status field of an article content type, we can by default choose a desired output format with the values : "Yes/No", "True/False", "On/Off", "Enabled/Disabled", "✔/✖", "Published/Not published".
But with a custom boolean field we can't have these choices, We can just choose between : "Default translated", "Default", "Key", "Group subscription", We can't show anything else than 1 by selecting "Key".
In addition, when we add a filter on this same custom boolean node field, there is no possibility of choosing output format. Then in the filter dropbox there are the next values : "- Any -", "", "".
How can I provide a label to my exposed filter and my fields value.
Thank you all.