Skip to content

Commit

Permalink
fix(form): show incompatible item type header inside popover
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Oct 21, 2022
1 parent 2be0b8b commit 32290a2
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ export function IncompatibleItemType(props: Props) {
content={
<PopoverCard margin={1} padding={3} onKeyDown={handleKeyDown} tabIndex={0} overflow="auto">
<Stack space={4}>
<Box>
<Text weight="semibold">Why is this happening?</Text>
</Box>
<Text weight="semibold">
Item of type <code>{typeName}</code> not valid for this list
</Text>
<Text size={1} weight="semibold">
Why is this happening?
</Text>
<Text size={1}>
The current schema does not declare items of type <code>{typeName}</code> as valid for
this list. This could mean that the type has been removed as a valid item type, or
Expand Down

0 comments on commit 32290a2

Please sign in to comment.