Resolve "Resources & Crisis: ResourcesModule, Add EditMode"
Closes #652
This implementation does some things different then the ticket, as it does not really make sense to use itemActions. We want the first itemAction to be the editAction - and I assume from the designs we want to use the rcc-edit-text
.
But if we use provided ItemActions we can not (or at least I did not know how to) define the order of the actions. We can change which action comes first by providing it first, but that feels rather weird.
Aditionally there is no option to not fill the primaryAction but only the secondary one if we do this automagically
.
Therefore I implemented an rcc-card
with a secondaryAction
and the content being a rcc-edit-text
.
ItemAction to delete the Resource are added nevertheless for future usage.