diff --git a/server/static/js/property-editor.js b/server/static/js/property-editor.js
index 580961d9..9fb5b726 100644
--- a/server/static/js/property-editor.js
+++ b/server/static/js/property-editor.js
@@ -211,6 +211,7 @@ class EditorGenerator {
const arrayContainer = $('
').addClass('property-editor-array');
const arrayItems = this.object[key] || [];
const itemSchema = property.items || { type: 'string' }; // Default to strings if items schema is missing
+ const customEnum = this.customEnumFields[key];
const renderArrayItems = () => {
arrayContainer.empty();
@@ -305,13 +306,13 @@ class EditorGenerator {
const addButton = $('