fix select defaut value
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user