fix select defaut value

This commit is contained in:
2020-09-12 08:52:20 +02:00
parent e91671a78f
commit 68cbc950f5
9 changed files with 41 additions and 33 deletions

View File

@@ -37,7 +37,7 @@
<DateTimeField
label="Date de fin"
name="end_date"
required />
@update:field="form.end_date = $event" :errors="errors" />
</div>
<TextAreaField name="description"
label="Description"
@@ -91,7 +91,6 @@ export default {
methods: {
submitForm: function () {
this.form.private = this.checked
console.log(this.form)
// eslint-disable-next-line no-undef
axios.post('/api/events', this.form)