<template>
  <q-form v-bind="$attrs" @submit="onSubmit">
    <slot></slot>
  </q-form>
</template>

<script setup>
import {QForm} from 'quasar'

const emit = defineEmits(['submit']);

const onSubmit = (value) => {
  emit('submit', value)
};

inheritAttrs: false;
</script>
