Default checkbox field ignores ui:title and ui:description
See original GitHub issuePrerequisites
- [x ] I have read the documentation;
- [ x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
Description
The default checkbox field for boolean forms does not respect the ui:title or ui:description fields making it difficult to overwrite.
Steps to Reproduce
- Ignored UI values Given a schema of:
{
"title": "Boolean Title",
"description": "Boolean Description",
"type": "boolean"
}
And a UI Schema of:
{
"ui:title": "Overwrite Boolean Title",
"ui:description": "Overwite Boolean Description"
}
Behavior
The form only displays the title from the description.
Expected behavior
It should display the ui:title and the ui:description as well.
- Repeated title and description
Given a schema of:
{
"title": "Boolean Title",
"description": "Boolean Description",
"type": "boolean"
}
And a UI Schema of:
{
"ui:title": "Overwrite Boolean Title",
"ui:description": "Overwite Boolean Description",
"ui:widget": "checkbox"
}
Behavior
The form only displays the the title, the description, the ui title, the ui description and the title.
Expected behavior
It should display only the ui:title and the ui:description.
Version
1.0.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:7 (2 by maintainers)
Top Results From Across the Web
<input type="checkbox"> - HTML: HyperText Markup Language
If you wanted to submit a default value for the checkbox when it is unchecked, you could include an <input type="hidden"> inside the...
Read more >Checkboxes default value is ignored by forms system ... - Drupal
When the form is rebuit with AJAX, the role field shows the computed value, but not the dates field? Inconsistency like that is...
Read more >html - Do checkbox inputs only post data if they're checked?
Yes, standard behaviour is the value is only sent if the checkbox is checked. This typically means you need to have a way...
Read more >Checkbox field - Magnolia CMS Docs
This checkbox field definition is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.ui.field.CheckBoxFieldDefinition .
Read more >How To Select The Check Box In Selenium With Examples
The checkbox can be turned on or off (that is checked or unchecked). A checked Checkbox is the one that is seen as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I would fix it during free time since I know this is a long live issue and not that critical, LOL
I did come across this myself so I knew 😃 Assign to me if you could 😃
Im facing this problem. Is it solved yet? Any workaround?