-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data-binding with Checked in FluentCheckbox and FluentSwitch doesn't work. #131
Comments
Yes, that is of the shared base using |
@vnbaaij OK. That was a bit confusing. MudBlazor binds using I would be more comfortable if both propeties were allowed for data-binding. |
Not really sure what you mean here. FluentCheckbox and FluentSwitch work with |
@vnbaaij OK. I'm new to Fluent UI.
I actually assumed it worked from looking around. Just pointed out that I thought MudBlazor was more semantic in this regard. |
To add, I was looking in the sample pages where That was the reason for the surprise. |
I assumed that you could do a two-way binding to the
Checked
property (@bind-Checked
) in FluentCheckbox and FluentSwitch. That seemed the most logical - but it did not work. So I tried@bind-Value
instead, and then all good.What is the reason for this? Is it just because of the shared base using
Value
instead.The text was updated successfully, but these errors were encountered: