From 006c771d4a085d6b51a55e5ad48abbd064fc8536 Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Fri, 29 Nov 2024 16:19:23 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20marge=20suppl=C3=A9mentaire=20sur=20le?= =?UTF-8?q?=20formulaire=20des=20personnes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/components/Form.jsx | 2 - front/src/components/form.module.scss | 15 +++--- front/src/schemas/article-ui-schema.json | 62 ++++++++---------------- 3 files changed, 27 insertions(+), 52 deletions(-) diff --git a/front/src/components/Form.jsx b/front/src/components/Form.jsx index f8108eb45..7f70937fd 100644 --- a/front/src/components/Form.jsx +++ b/front/src/components/Form.jsx @@ -97,7 +97,6 @@ function ArrayFieldTemplate (properties) { const addItemTitle = properties.uiSchema['ui:add-item-title'] ?? 'form.addItem.title' const removeItemTitle = properties.uiSchema['ui:remove-item-title'] ?? 'form.removeItem.title' const title = properties.uiSchema['ui:title'] - const inlineRemoveButton = properties.schema?.items?.type === 'string' || !removeItemTitle return (
@@ -153,7 +152,6 @@ function FieldTemplate (properties) { const label = properties.schema.$id ? properties.label[properties.schema.$id] : properties.label - console.log('FieldTemplate', {id, properties, children}) return (
{displayLabel &&