Skip to content

Commit

Permalink
Merge pull request #5091 from open-formulieren/bug/5088-metadata-fiel…
Browse files Browse the repository at this point in the history
…dset-in-json-registration-options-is-not-visible-when-lots-of-variables-are-selected

Fix bug with collapsed metadata fieldset being hidden in JSON dump plugin
  • Loading branch information
robinmolen authored Feb 13, 2025
2 parents a1a1b00 + c9e42ed commit 06c301c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const JSONDumpOptionsForm = ({name, label, schema, formData, onChange}) => {
defaultMessage="Metadata variables"
/>
}
extraClassName="openforms-fieldset"
collapsible
initialCollapsed
>
Expand Down
8 changes: 8 additions & 0 deletions src/openforms/scss/components/admin/_fieldset.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* The django admin `.collapsed` styling on fieldset elements sets `overflow: hidden;`.
* Seeing how we already hide the fieldset content in the javascript code,
* the `overflow: hidden;` only hides the fieldset toggle (which we want to keep visible)
*/
.openforms-fieldset.collapsed {
overflow: visible !important;
}
1 change: 1 addition & 0 deletions src/openforms/scss/components/admin/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@import './column-field-value';
@import './confirmation-email-template';
@import './variablemapping';
@import './fieldset';

// Form design UI
@import './select';
Expand Down

0 comments on commit 06c301c

Please sign in to comment.