Remove initform mixin

This commit is contained in:
Julien Nahum
2023-12-24 20:23:01 +01:00
parent e2dd0295ff
commit 5df3245543
3 changed files with 4 additions and 63 deletions

View File

@@ -1,5 +1,5 @@
export const initForm = (options = {}) => {
export const initForm = (defaultValue = {}) => {
return useForm({
title: 'My Form',
description: null,
@@ -49,6 +49,6 @@ export const initForm = (options = {}) => {
// Custom SEO
seo_meta: {},
...options
...defaultValue
})
}