Prevent catalog title changes during edit
Enforce immutability of CatTitle on updates: backend now rejects title changes with a BadRequest, and frontend disables the title input field when editing.
This commit is contained in:
@@ -24,7 +24,7 @@ else if (!string.IsNullOrWhiteSpace(infoMessage))
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Titel</label>
|
||||
<InputText class="form-control" @bind-Value="formModel.CatTitle" />
|
||||
<InputText class="form-control" @bind-Value="formModel.CatTitle" disabled="@isEditing" />
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Kennung</label>
|
||||
|
||||
Reference in New Issue
Block a user