umbraco/UI-Examples

uui-toggle - Label doesn't render if closing tag is on new line

Closed this issue · 2 comments

Just come across this oddity where the label for a <uui-toggle> will not render, if the closing tag is on a new line.

Here, the label renders fine:

<uui-toggle label="This is my label" value="bike"></uui-toggle>

image

But here, the label does not render:

<uui-toggle label="This is my label" value="bike">
</uui-toggle>

image

wrong repo sorry

he he - no worries :-)