Skip to content

Commit

Permalink
Update error list to use Alert-Card variant in form (#7048)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio authored Nov 8, 2024
2 parents a0ec465 + 149e3ea commit 80265c0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/components/form/shadow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ export class KolForm implements FormAPI {

private renderErrorList(errorList?: ErrorListPropType[]): JSX.Element {
return (
<KolAlertFc type="error" variant="msg">
{translate('kol-error-list-message')}
<KolAlertFc type="error" variant="card" label={translate('kol-error-list-message')}>
<nav aria-label={translate('kol-error-list')}>
<ul>
{errorList?.map((error, index) => (
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80265c0

Please sign in to comment.