Bug: adding dynamic content to icon type makes graphic icon section disappear

Headline component element with graphic checkbox enabled: When I enter breakout mode and add {{dc:p:setup.displayGraphic}} to the graphic type field in the primary tab, the entire “graphic icon” group disappears. The dc string I’m using should output “icon” into the field (see parameter JSON below… however when I add “icon” back in instead of my dc string (which also outputs "icon’, it reappears. See screen cast link below.

      "displayGraphic" : {
			"type" : "choose",
			"label" : "Graphic",
			"initial" : "none",
			"options" : [
				{ "value" : "icon", "label" : "On"},
				{ "value" : "none", "label" : "Off"}
			]
		}

Hey @threeoten,

Thanks for the very detailed post. Make sure to set up the initial value:
"initial" : "icon",. If it is set to none, then the option settings will not be displayed be default.

Hope this helps.

unfortunately, changing the “initial” to “icon” adds an icon to every instance of this component that already exists across my whole site. I’d have to go to all of them individually and switch the selector to off.

Hey @threeoten,

Please provide us your WP details so we can check your component. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.