A
A
Alexander Ivanov2018-09-28 17:57:29
Vue.js
Alexander Ivanov, 2018-09-28 17:57:29

Why doesn't this.$refs.form.reset() work the second time around?

<v-form lazy-validation v-model="valid" ref="form">
...
</ v-form>

methods: {
..
            close() {
                this.$refs.form.reset()
                this.$emit('close')
            },
..
}

The first time clears, when I open the form again it does not clear.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question