[BLOSSOM-206] On administration dialogs, on the right of checkbox input is appearing a code. Created: 02/Mar/15  Updated: 03/Mar/15  Resolved: 02/Mar/15

Status: Closed
Project: Blossom
Component/s: None
Affects Version/s: 3.0.5
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Francisco J. Giner Assignee: Tobias Mattsson
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia CMS 5.3.7
Spring 3.2.4


Attachments: PNG File capture.png    
Issue Links:
duplicate
duplicates MGNLUI-3365 Checkbox requires setting buttonLabel... Closed
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
Date of First Response:

 Description   

After upgrading blossom module and magnolia to current versions and modifying magnolia.properties to change widgetset class, all the checkboxes are not showing properly. I attach an example. Before upgrading everything was working nice.
This is how I configure that checkbox:

@TabFactory("Properties")
    public void contentTab(UiConfig cfg, TabBuilder tab) {
        tab.fields(
	    cfg.fields.checkbox("renderTemplate").label("Render template").description("Check this box to render base template")
        );
    }

Update:

If you add .buttonLabel("") to the method chain the code disappears.



 Comments   
Comment by Tobias Mattsson [ 02/Mar/15 ]

Hi Francisco,

Yes, that's the workaround you need to go with for now, I've created MGNLUI-3365 because the problem is not Blossom specific and needs to be fixed in the general UI code.

Comment by Francisco J. Giner [ 03/Mar/15 ]

Hi Tobias,

Thanks for your explanation. I'll do that.

Generated at Sun Feb 11 23:31:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.