Umbraco Early Adopter Gotcha - Empty Buttons.
Kevin Jump
Posted on February 18, 2024
Things, i keep getting wrong. Part c of n
When you define a button in the new ui.
<uui-button color="danger" look="primary"
label="Confirm?" @click=${this.openConfirm}></uui-button>
You might be tempted to make the code all neat.
<uui-button
color="danger"
look="primary"
label="Confirm?" @click=${this.openConfirm}>
</uui-button>
but beware !
That last carrage return has made the button empty !! and if won't render any text !
Don't get stuck wasting time (like me). put the closing tag at the end of the line.
<uui-button
color="danger"
look="primary"
label="Confirm?" @click=${this.openConfirm}></uui-button>
💖 💪 🙅 🚩
Kevin Jump
Posted on February 18, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
umbraco Quick fix for IPublishedSnapshotAccessor issues when upgrading to Umbraco 15
November 29, 2024
umbraco Catching the Bus? How a Service Bus and Azure Functions Can Help Your Integration Reliability
November 7, 2024