diff --git a/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx b/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx index 919787a4579..52b0400bc9f 100644 --- a/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx +++ b/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { f } from '../../utils/functools'; +import { ReadOnlyContext } from '../Core/Contexts'; import type { AnySchema } from '../DataModel/helperTypes'; import type { SpecifyResource } from '../DataModel/legacyTypes'; import { resourceOn } from '../DataModel/resource'; @@ -46,20 +47,23 @@ export function PickListEditor({ ); return collection === undefined ? null : ( - - void resource.set(relationship.name, resource as never) - } - onClose={f.never} - /> + // FEATURE: change to mode "edit" when #3125 is fixed + + + void resource.set(relationship.name, resource as never) + } + onClose={f.never} + /> + ); }