prevent user form to submit

This commit is contained in:
les
2021-02-12 16:57:23 +01:00
parent 4176fb274f
commit ec3d71dc65

View File

@@ -15,7 +15,7 @@
v-card(color='secondary')
v-card-title {{$t('common.new_user')}}
v-card-text
v-form(v-model='valid' ref='user_form' lazy-validation)
v-form(v-model='valid' ref='user_form' lazy-validation @submit.prevent='createUser')
v-text-field(v-model='new_user.email'
:label="$t('common.email')"
:rules="$validators.email")
@@ -44,6 +44,7 @@
</template>
<script>
import { mapState } from 'vuex'
import get from 'lodash/get'
export default {
name: 'Users',