Add edit functionality for EinAb interactions: implement UpdateInteraction method, extend InteractionDialog for edit mode, and add edit button in InteractionRow
This commit is contained in:
@@ -62,6 +62,18 @@ namespace FoodsharingSiegen.Server.Controls
|
||||
[Parameter]
|
||||
public Func<Guid, Task>? RemoveClick { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether editing existing interactions is allowed.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool AllowEdit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the callback invoked when an interaction is edited.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public Func<Guid, Task>? EditClick { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the type (ab)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user