diff --git a/specifyweb/frontend/js_src/lib/components/SchemaConfig/Format.tsx b/specifyweb/frontend/js_src/lib/components/SchemaConfig/Format.tsx index c426625ad89..562940759bd 100644 --- a/specifyweb/frontend/js_src/lib/components/SchemaConfig/Format.tsx +++ b/specifyweb/frontend/js_src/lib/components/SchemaConfig/Format.tsx @@ -196,7 +196,7 @@ function FormatterLine({ value="none" onChange={(): void => { const firstValue = (typeof values === 'object' && values !== null) - ? values["Field Formatters"]?.[0]?.[0] ?? Object.values(values)?.[0]?.[0]?.[0] ?? null + ? Object.values(values)?.[0]?.[0]?.[0] ?? values["Field Formatters"]?.[0]?.[0] ?? null : null; handleFormatted(name, firstValue);