Skip to content

Commit

Permalink
💄 [#4871] Display DMN config error messages above inputs
Browse files Browse the repository at this point in the history
Ensure that the error messages for the DMN configuration are placed above the inputs
  • Loading branch information
robinmolen committed Jan 29, 2025
1 parent 2fc09c5 commit 4309f99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const DMNActionConfig = ({initialValues, onSave}) => {
{formik => (
<Form>
<fieldset className="aligned">
<div className="form-row form-row--no-bottom-line">
<div className="form-row form-row--display-block form-row--no-bottom-line">
<Field
name="pluginId"
htmlFor="pluginId"
Expand Down Expand Up @@ -233,10 +233,10 @@ const DMNActionConfig = ({initialValues, onSave}) => {
}
>
<fieldset className="aligned">
<div className="form-row form-row--no-bottom-line">
<div className="form-row form-row--display-block form-row--no-bottom-line">
<DecisionDefinitionIdField />
</div>
<div className="form-row">
<div className="form-row form-row--display-block">
<DecisionDefinitionVersionField />
</div>
</fieldset>
Expand Down
4 changes: 4 additions & 0 deletions src/openforms/scss/components/builder/_builder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,8 @@ div.flatpickr-calendar.open {
@include bem.modifier('no-bottom-line') {
border-bottom: 0;
}

@include bem.modifier('display-block') {
display: block;
}
}

0 comments on commit 4309f99

Please sign in to comment.