Contains/Exists in list converter? #406
Closed
LeoJHarris
started this conversation in
New Feature Discussions
Replies: 2 comments 4 replies
-
We don't have an explicit 'is something in a list' converter however, you could achieve the same result using the https://docs.microsoft.com/en-gb/dotnet/communitytoolkit/maui/converters/enum-to-bool-converter Let me know if this helps |
Beta Was this translation helpful? Give feedback.
4 replies
-
Closed as answered as per the Community Stand-up discussion here: https://youtu.be/N9wMcBP4jtg?t=2889 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Just opening up discussion for a converter that would take a list and check if an object is in the list. My user case for this is for my current app, I have a
AuthenticationProfile
enum, similar to theConnectionProfile
inEssentials
, basically I am looking to check if a certainAuthenticationProfile
exists in the list of user authentication profiles.I can look into doing this at some point if we don't currently support something like this type of converter. It doesn't have to only apply to enum's.
Beta Was this translation helpful? Give feedback.
All reactions