diff --git a/src/openforms/js/components/admin/form_design/DataRemoval.js b/src/openforms/js/components/admin/form_design/DataRemoval.js index 1eb1e06bbd..f0804cc834 100644 --- a/src/openforms/js/components/admin/form_design/DataRemoval.js +++ b/src/openforms/js/components/admin/form_design/DataRemoval.js @@ -41,7 +41,7 @@ const DataRemoval = ({submissionsRemovalOptions, onChange}) => { } = submissionsRemovalOptions; return ( -
+
onReorder('down')} /> - diff --git a/src/openforms/js/components/admin/form_design/PaymentFields.js b/src/openforms/js/components/admin/form_design/PaymentFields.js index feafc9aae2..14e2b552d4 100644 --- a/src/openforms/js/components/admin/form_design/PaymentFields.js +++ b/src/openforms/js/components/admin/form_design/PaymentFields.js @@ -18,7 +18,6 @@ const PaymentFields = ({backends = [], selectedBackend = '', backendOptions = {} return (
{ return (
{ const productChoices = products.map(product => [product.url, product.name]); return (
} > diff --git a/src/openforms/js/components/admin/form_design/RegistrationFields.js b/src/openforms/js/components/admin/form_design/RegistrationFields.js index d2aa9bcde5..306ef1670d 100644 --- a/src/openforms/js/components/admin/form_design/RegistrationFields.js +++ b/src/openforms/js/components/admin/form_design/RegistrationFields.js @@ -53,7 +53,6 @@ const BackendOptionsFormRow = ({backendType = null, currentOptions = {}, onChang /> } schema={backendType.schema} - uiSchema={BACKEND_OPTIONS_FORMS[backendType.id]?.uiSchema || {}} formData={currentOptions} onChange={({formData}) => onChange({target: {name: `form.registrationBackends.${index}.options`, value: formData}}) @@ -85,7 +84,6 @@ const BackendFields = ({index = 0, backend, availableBackends = [], onChange, on return (
{backend.name || backend.key} diff --git a/src/openforms/js/components/admin/form_design/RegistrationFields.stories.js b/src/openforms/js/components/admin/form_design/RegistrationFields.stories.js index 726b9cc2fa..6ab9f34a03 100644 --- a/src/openforms/js/components/admin/form_design/RegistrationFields.stories.js +++ b/src/openforms/js/components/admin/form_design/RegistrationFields.stories.js @@ -16,6 +16,7 @@ import { mockRoleTypesGet as mockZGWApisRoleTypesGet, } from 'components/admin/form_design/registrations/zgw/mocks'; import { + AdminChangeFormDecorator, FormDecorator, ValidationErrorsDecorator, } from 'components/admin/form_design/story-decorators'; @@ -25,7 +26,7 @@ import RegistrationFields from './RegistrationFields'; export default { title: 'Form design / Registration / RegistrationFields', - decorators: [ValidationErrorsDecorator, FormDecorator], + decorators: [ValidationErrorsDecorator, FormDecorator, AdminChangeFormDecorator], component: RegistrationFields, args: { availableBackends: [ @@ -389,25 +390,6 @@ export default { type: 'object', }, }, - { - id: 'microsoft-graph', - label: 'Microsoft Graph (OneDrive/SharePoint)', - schema: { - type: 'object', - properties: { - folderPath: { - type: 'string', - minLength: 1, - title: 'maplocatie', - }, - driveId: { - type: 'string', - minLength: 1, - title: 'drive-ID', - }, - }, - }, - }, ], configuredBackends: [], onChange: fn(), @@ -650,15 +632,6 @@ export const ConfiguredBackends = { backend: 'exception-demo', options: {extraLine: 'Filled out option'}, }, - { - key: 'backend9', - name: 'MS Graph', - backend: 'microsoft-graph', - options: { - folderPath: '/formSubmissions', - driveId: 'myDrive', - }, - }, { key: 'backend10', name: 'Camunda', diff --git a/src/openforms/js/components/admin/form_design/authentication/LoAOverrideOption.stories.js b/src/openforms/js/components/admin/form_design/authentication/LoAOverrideOption.stories.js index d40cf737af..c40f03290e 100644 --- a/src/openforms/js/components/admin/form_design/authentication/LoAOverrideOption.stories.js +++ b/src/openforms/js/components/admin/form_design/authentication/LoAOverrideOption.stories.js @@ -1,10 +1,18 @@ import {expect, within} from '@storybook/test'; +import {AdminChangeFormDecorator} from 'components/admin/form_design/story-decorators'; + import LoAOverrideOption from './LoAOverrideOption'; export default { title: 'Form design/ Authentication / LoA override option', component: LoAOverrideOption, + decorators: [AdminChangeFormDecorator], + parameters: { + adminChangeForm: { + wrapFieldset: true, + }, + }, }; export const Default = { diff --git a/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js b/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js index ebb0982d80..3dc1b3d461 100644 --- a/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js +++ b/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js @@ -194,7 +194,7 @@ const DMNActionConfig = ({initialValues, onSave}) => { > {formik => (
-
+
{ /> } > -
+
diff --git a/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNParametersForm.js b/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNParametersForm.js index da394dcf0c..92a357e9d4 100644 --- a/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNParametersForm.js +++ b/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNParametersForm.js @@ -194,6 +194,7 @@ const DMNParametersForm = () => { loading={loading} name="inputMapping" directionIcon={