Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

formSubmit - minor changes

DanielŻuławski24c7144b0ebb
diff --git a/src/Web/Grand.Web/Views/Catalog/Components/VendorContact/Default.cshtml b/src/Web/Grand.Web/Views/Catalog/Components/VendorContact/Default.cshtml
index 3ce92a49d..72ebebdb0 100644
--- a/src/Web/Grand.Web/Views/Catalog/Components/VendorContact/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/Components/VendorContact/Default.cshtml
@@ -14,7 +14,7 @@ else
</div>
</template>
<validation-observer v-slot="{ handleSubmit }">
- <form asp-route="ContactVendor" id="vendorContact" method="post" ref="form" v-on:submit.prevent="handleSubmit(formSubmit($event))">
+ <form asp-route="ContactVendor" id="vendorContact" method="post" ref="form" v-on:submit.prevent="handleSubmit($event, formSubmit)">
<input type="hidden" asp-for="@Model.VendorId" />
<div asp-validation-summary="ModelOnly" class="message-error"></div>
<div class="form-fields d-flex row">