From 037b928805b02271ed75a8df1c76e7fbb502fceb Mon Sep 17 00:00:00 2001 From: Viktor van Wijk Date: Wed, 18 Dec 2024 14:41:34 +0100 Subject: [PATCH] :art: [#4908] Revise import Wrong place and doesn't look great --- .../admin/form_design/registrations/json/JSONOptionsForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openforms/js/components/admin/form_design/registrations/json/JSONOptionsForm.js b/src/openforms/js/components/admin/form_design/registrations/json/JSONOptionsForm.js index 92598e08f6..8882b1b2d1 100644 --- a/src/openforms/js/components/admin/form_design/registrations/json/JSONOptionsForm.js +++ b/src/openforms/js/components/admin/form_design/registrations/json/JSONOptionsForm.js @@ -10,6 +10,7 @@ import { ValidationErrorsProvider, filterErrors, } from 'components/admin/forms/ValidationErrors'; +import {getChoicesFromSchema} from 'utils/json-schema'; // TODO-4098: maybe create separate file (JSONOptionsFormFields) for all the fields? // Though, no need to use multiple FieldSets, so adding the fields to the form is pretty @@ -17,7 +18,6 @@ import { import FormVariablesSelect from './fields/FormVariablesSelect'; import RelativeAPIEndpoint from './fields/RelativeAPIEndpoint'; import ServiceSelect from './fields/ServiceSelect'; -import {getChoicesFromSchema} from '../../../../../utils/json-schema'; const JSONOptionsForm = ({name, label, schema, formData, onChange}) => {