Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

blazor mudblazor extend component ? make label on top clickable? or add button after it?

$
0
0

I known hot to use mudblazor / but im not a UI developer so if someone can point me a direction i would be very happy ;)

Lets say that i have a simple mudtext component

<MudTextField @bind-Value="TextValue" Label="Standard" Variant="Variant.Text"></MudTextField>

and i would need to create some wrapper around it that will add some icon after it with hisotry of the field (not allow it to be upper / lower / just after the component always)so at the end i would like it to be as

<HistoryWrapper @icon="someMudblazorIcon" @onclick="someMethodThatWillOpenPopupWindowWithHistry"><MudTextField @bind-Value="TextValue" Label="Standard" Variant="Variant.Text"></MudTextField></HistoryWrapper >

please point me god direction to do this? shoud i do this using renderfragment? ot some better way?

thanks and regards


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>