Confirm Dialog
This commit is contained in:
@@ -9,17 +9,21 @@
|
||||
<ModalBody>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<label for="aim-userselect">Benutzer</label>
|
||||
<Select TValue="Guid" @bind-SelectedValue="SelectedUser" id="aim-userselect">
|
||||
@foreach (var user in Users ?? new List<User>())
|
||||
{
|
||||
<SelectItem Value="@user.Id">@user.Name</SelectItem>
|
||||
}
|
||||
</Select>
|
||||
<Field>
|
||||
<FieldLabel>Wer?</FieldLabel>
|
||||
<Select TValue="Guid" @bind-SelectedValue="SelectedUser" id="aim-userselect">
|
||||
@foreach (var user in Users ?? new List<User>())
|
||||
{
|
||||
<SelectItem Value="@user.Id">@user.Name</SelectItem>
|
||||
}
|
||||
</Select>
|
||||
</Field>
|
||||
</div>
|
||||
<div class="col">
|
||||
<label for="aim-datepicker">Datum</label>
|
||||
<DatePicker TValue="DateTime" @bind-Date="Interaction.Date" ElementId="aim-datepicker" Max="DateTime.UtcNow.AddDays(7)"/>
|
||||
<Field>
|
||||
<FieldLabel>Wann?</FieldLabel>
|
||||
<DatePicker TValue="DateTime" @bind-Date="Interaction.Date" ElementId="aim-datepicker" Max="DateTime.UtcNow.AddDays(7)"/>
|
||||
</Field>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,8 +35,8 @@
|
||||
}
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button Color="Color.Primary" Clicked="@AddInteraction">Speichern</Button>
|
||||
<Button Color="Color.Secondary" Clicked="ModalReference.Hide">Abbrechen</Button>
|
||||
<Button Color="Color.Primary" Clicked="@AddInteraction">Speichern</Button>
|
||||
</ModalFooter>
|
||||
</ModalContent>
|
||||
</Modal>
|
||||
@@ -37,8 +37,8 @@
|
||||
</Field>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button Color="Color.Primary" Clicked="@AddProspect">Hinzufügen</Button>
|
||||
<Button Color="Color.Secondary" Clicked="ModalReference.Hide">Abbrechen</Button>
|
||||
<Button Color="Color.Primary" Clicked="@AddProspect">Hinzufügen</Button>
|
||||
</ModalFooter>
|
||||
</ModalContent>
|
||||
</Modal>
|
||||
Reference in New Issue
Block a user