Skip to content

Opening Popup using IPopupService in v2 following documentation throws error #2786

Answered by TheCodeTraveler
imsam67 asked this question in Q&A
Discussion options

You must be logged in to vote

You nust first register the popup with PopupService: https://learn.microsoft.com/dotnet/communitytoolkit/maui/views/popup-service:

builder.Services.AddTransientPopup<NamePopup, NamePopupViewModel>();

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by imsam67
Comment options

You must be logged in to vote
1 reply
@imsam67
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants