CommunityToolkit / Maui

The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier

Home Page:https://learn.microsoft.com/dotnet/communitytoolkit/maui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] EnumToBool Converter causing application crash when used in a data trigger

adlartuten opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When using the EnumToBool converter in a data trigger, the application crashes showing "Non-nullable are not valid" error

Expected Behavior

Converter should be able to be used inside of a data trigger

Steps To Reproduce

Open solution
Run

Link to public reproduction project repository

https://github.com/adlartuten/ToolkitTest

Environment

- .NET MAUI CommunityToolkit:9.0.2
- OS: Windows, Android, iOS
- .NET MAUI:8.0.70

Anything else?

This does not happen on version 9.0.1, it first appeared in 9.0.2

Thanks for this report, it is actually a duplicate of #2003 which has a fix. We haven't released the fix yet but it will be coming soon. For now please stay on 9.0.1 and know that the next published version will include a fix.