Aggiunto messaggio per completamento ispezione
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<MudMessageBox @ref="_confirmDelete" Title="Attenzione!" CancelText="Annulla">
|
||||
<MudMessageBox @ref="_confirmDelete" Title="Attenzione!" CancelText="@NoText">
|
||||
<MessageContent>
|
||||
@Message
|
||||
</MessageContent>
|
||||
<YesButton>
|
||||
<MudButton Size="Size.Small" Variant="Variant.Filled" Color="Color.Error">
|
||||
Cancella
|
||||
<MudButton Size="Size.Small" Variant="Variant.Filled" Color="YesColor">
|
||||
@YesText
|
||||
</MudButton>
|
||||
</YesButton>
|
||||
</MudMessageBox>
|
||||
@@ -12,6 +12,9 @@
|
||||
@code
|
||||
{
|
||||
[Parameter] public string Message { get; set; } = string.Empty;
|
||||
[Parameter] public string YesText { get; set; } = string.Empty;
|
||||
[Parameter] public string NoText { get; set; } = "Annulla";
|
||||
[Parameter] public Color YesColor { get; set; } = Color.Primary;
|
||||
|
||||
private MudMessageBox? _confirmDelete;
|
||||
|
||||
Reference in New Issue
Block a user