Signed-off-by: Pranav C <pranavxc@gmail.com>
@ -59,7 +59,11 @@ function onCancel() {
async function onSubmit() {
await addOrUpdate(reloadMetaAndData)
advancedOptions.value = false
// add delay to complete the minimize transition
setTimeout(() => {
}, 500)
}
// create column meta if it's a new column
@ -174,7 +174,7 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState
if (cdf) formState.value.cdf = formState.value.cdf || null
const addOrUpdate = async (onSuccess: () => {}) => {
const addOrUpdate = async (onSuccess: () => void) => {
try {
console.log(formState, validators)
if (!(await validate())) return