Fixed input model attributes

This commit is contained in:
Khwezi Mngoma
2026-05-20 17:47:53 +02:00
parent 84a50e64bf
commit 2e59f4d8ed
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -93,6 +93,7 @@
<label class="console-field-label">Primary Cover</label>
<div class="book-cover-dropzone">
<InputFile OnChange="HandleMainImageUpload" accept=".png,.jpg,.jpeg,.webp" class="hidden-file-input" id="main-image-file" />
<ValidationMessage For="@(() => ProductModel.ImageUrl)" style="color: #ff5722; font-size: 0.75rem;" />
@if (string.IsNullOrEmpty(ProductModel.ImageUrl))
{