diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
index 1bad1ee221..c866f45e46 100644
--- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
+++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
@@ -479,7 +479,7 @@
newError.name = `Column name already in use.`
}
- if (fieldInfo.type === "auto" && !fieldInfo.subtype) {
+ if (fieldInfo.type === FieldType.AUTO && !fieldInfo.subtype) {
newError.subtype = `Auto Column requires a type`
}
@@ -540,18 +540,18 @@
}}
/>
- {#if editableColumn.type === "string"}
+ {#if editableColumn.type === FieldType.STRING}
- {:else if editableColumn.type === "options"}
+ {:else if editableColumn.type === FieldType.OPTIONS}