Skip to content

Commit

Permalink
Display property value in field-level error
Browse files Browse the repository at this point in the history
  • Loading branch information
kiahna-tucker committed Nov 22, 2024
1 parent 2e9b592 commit f420f08
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function OnIncompatibleSchemaChangeForm() {
}, [currentSetting, selection]);

return (
<Stack spacing={2}>
<Stack spacing={1}>
{invalidSetting ? (
<AlertBox
severity="error"
Expand Down Expand Up @@ -149,9 +149,12 @@ export default function OnIncompatibleSchemaChangeForm() {
error={invalidSetting}
helperText={
invalidSetting
? intl.formatMessage({
id: 'incompatibleSchemaChange.error.message',
})
? intl.formatMessage(
{
id: 'incompatibleSchemaChange.error.message',
},
{ currentSetting }
)
: undefined
}
label={intl.formatMessage({
Expand Down

0 comments on commit f420f08

Please sign in to comment.