Components and certain element options

There’s something important missing from Components, unless I’m simply missing how to do it, and that’s the ability to make certain options available to the user regardless of Parameter settings. These options include Type, New tab and nofollow controls for links. The Graphic toggle is another example. If you have a button Component then the user would still be able to toggle on/off a graphic for that button. I think it would be reasonable to let the user control the icon in such a case, it wouldn’t totally destroy a layout or anything. More flexibility for these types of things in Components would be very helpful.

Hi @JvP,

When compared to all the different control types available on the core elements, yes, there are quite a few things missing. Unfortunately not everything will be possible, at least not initially.

Parameters (in their current form) are an extension of Dynamic Content, which is limited to string based values. The “New Tab” property is stored as a boolean true/false, so unfortunately we can’t manipulate it with Dynamic Content.

We’ve certainly noted these limitations, and the biggest bottleneck is that we’re running Parameters through Dynamic Content. What we will probably introduce is a way for a Parameter to directly change an element value. This will come with its own set of limitations, mainly that the value being changed must be on the top level element (not somewhere down in the component’s element tree).

1 Like

At least that will offer more flexibility than the current implementation. I’m looking forward to testing that.

Sounds good!