Skip to content

Commit

Permalink
🩹 [open-formulieren/open-forms#4716] Default ValidationErrors id shou…
Browse files Browse the repository at this point in the history
…ld be undefined

It's better if this element hasn't got an id, then when multiple elements have the same id
  • Loading branch information
robinmolen committed Oct 10, 2024
1 parent 3e3e0b9 commit 0bcf3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/forms/ValidationErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {FormFieldDescription} from '@utrecht/component-library-react';
import PropTypes from 'prop-types';
import React from 'react';

const ValidationErrors = ({error = '', id = ''}) => {
const ValidationErrors = ({error = '', id}) => {
if (!error) return null;
return (
<FormFieldDescription
Expand Down

0 comments on commit 0bcf3f8

Please sign in to comment.