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

Is Mudblazor checked option dead

$
0
0

I have a MudCheckBox that i reference in my code in order to be able to know if i need to check it by default or no.

The thing is that when i use the myCheckBox.Checked = true, i ahve an error telling me that Checked is now obsolete and that i need to use Value.

But when i use my_checkBox.Value, it just tell me that i cant set it outside of the component

I just tried both of the answer but none seems to work

if (_account != null){    _checkAvailable.Checked = ((int)_account.Attributes) % 2 > 0;    _nullAccount = false;}

Viewing all articles
Browse latest Browse all 4839

Trending Articles



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