Vue 3: Prevent Redundant Form Submissions When Resetting State Between Parent and Child Components
Issue: In a Vue 3 application, form submissions are being redundantly triggered. This happens even though @submit.prevent
and event.stopPropagation()
are used. The issue seems linked to the resetForm
method, which is called after form submission to reset the state. Both AdminBookForm and AdminBook components manage the form state and interact via props and events.