Fix error summary always visible with CSP header (#19691)

This commit is contained in:
Skeptic Spriggan
2024-01-18 16:30:22 +01:00
parent 60ea174348
commit c9c5c61f76
3 changed files with 13 additions and 1 deletions

View File

@ -1672,6 +1672,11 @@ EOD;
$model->addError('name', 'Error message. Here are even more chars: ""');
},
],
[
'empty_class',
['emptyClass' => 'd-none'],
'<div class="d-none"><p>Please fix the following errors:</p><ul></ul></div>',
],
];
}