-
How do I close the modal in case of modal edit?
|
Beta Was this translation helpful? Give feedback.
Answered by
stsrki
Apr 3, 2021
Replies: 2 comments 1 reply
-
Modify it as follows: <SaveCommandTemplate>
<Button Color="Color.Primary" Clicked="@(()=>EditPersonAsync(context))">@context.LocalizationString</Button>
</SaveCommandTemplate> Task EditPersonAsync( CommandContext<Employee> context )
{
// do other stuff
// call clicked here
return context.Clicked.InvokeAsync();
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
angelru
-
Please, is this still the best way how to do this? Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modify it as follows: