diff --git a/packages/form-js-editor/assets/form-js-editor-base.css b/packages/form-js-editor/assets/form-js-editor-base.css index 56817afba..a2e544764 100644 --- a/packages/form-js-editor/assets/form-js-editor-base.css +++ b/packages/form-js-editor/assets/form-js-editor-base.css @@ -839,3 +839,7 @@ .gu-mirror.fjs-drag-row-move .cds--row { flex-wrap: nowrap !important; } + +.bio-properties-panel-description .bio-properties-panel-strong { + font-weight: bold; +} diff --git a/packages/form-js-editor/src/features/properties-panel/entries/MultipleEntry.js b/packages/form-js-editor/src/features/properties-panel/entries/MultipleEntry.js index f1ccc4b71..99b12fff1 100644 --- a/packages/form-js-editor/src/features/properties-panel/entries/MultipleEntry.js +++ b/packages/form-js-editor/src/features/properties-panel/entries/MultipleEntry.js @@ -23,15 +23,13 @@ export function MultipleEntry(props) { function Multiple(props) { const { editField, field, id } = props; - const debounce = useService('debounce'); - const variables = useVariables().map((name) => ({ name })); - const path = ['multiple']; + const fieldValue = get(field, path, false); const getValue = () => { - return get(field, path, ''); + return fieldValue; }; const setValue = (value) => { @@ -48,5 +46,15 @@ function Multiple(props) { inline: true, setValue, variables, + description: fieldValue ? ( + <> + The picker variable will return an array with multiple + files + + ) : ( + <> + The picker variable will return an array with single + + ), }); }