[MGNLUI-6609] Checkbox Button Label can only be removed with empty string Created: 27/Sep/18  Updated: 10/Mar/21

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.7
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Marty Glaubitz Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: Dialog, checkbox
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

The Documentation of the Checkbox Field states that the buttonLabel is optional.

However if one doesn't specify it, the generated i18n placeholder is shown in the Dialog instead. Also buttonLabel: false does not work. You have to specify a signle space char as button label to get rid of it, like so:

buttonLabel: ' '

One would expect to have it work without specifying anything


Generated at Mon Feb 12 09:38:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.