Skip to content

Commit

Permalink
fix(@dpc-sdp/ripple-ui-forms): fixed error message not linked properl…
Browse files Browse the repository at this point in the history
…y to input
  • Loading branch information
jeffdowdle committed Jul 4, 2023
1 parent 679ae21 commit 2d26876
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ripple-ui-forms/src/inputs/input-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export const createRplFormInput = (
createSection('error', () => ({
$cmp: 'FormkitInputError',
props: {
id: `$id + '__error'`,
fieldName: `$node.name`
}
}))(),
Expand Down Expand Up @@ -114,6 +115,7 @@ export const createRplFormGroup = (
createSection('error', () => ({
$cmp: 'FormkitInputError',
props: {
id: `$id + '__error'`,
fieldName: `$node.name`
}
}))(),
Expand Down

0 comments on commit 2d26876

Please sign in to comment.