Fixed input model attributes
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user