diff --git a/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx b/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx
index 794e6171b..f2fd692f1 100644
--- a/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx
+++ b/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx
@@ -263,8 +263,7 @@ export const Editor = ({
const attributesValue = watch('attributes')
const attributes: Attribute[] = useMemo(
- () =>
- isAttributeArray(attributesValue) ? attributesValue.filter((attr) => attr.key && attr.key.trim() !== '') : [],
+ () => (isAttributeArray(attributesValue) ? attributesValue : []),
[attributesValue],
)
@@ -515,7 +514,7 @@ export const Editor = ({
setValue(`selectedIndex`, val?.value)}
- options={attributes.map((attr) => ({ label: attr.key, value: attr.key }))}
+ options={attributes.filter((attr) => attr.key).map((attr) => ({ label: attr.key, value: attr.key }))}
/>