NO BUG: Button's HTML tag disappears when a link is set

Hi!

I’ve encountered something weird and I don’t think it should be happening: whenever you set the link for the button element, the “HTML tag” field disappears.

How to replicate:

  1. Add a button element
  2. Add a link to it
  3. See that the HTML tag has disappeared.

I’m also uploading two screenshots.

Thanks!

Hi Valentin,
Thanks so much for your report!

This is expected behavior. When a link is set on the Button element, Bricks renders the button as an anchor (<a>) so the link attributes can be applied to the root element. Because of that, the custom HTML tag control is hidden in this state.

Best regards,
timmse