Skip to content

Commit

Permalink
show error in DropdownStepFormField if one option
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl11 committed Feb 11, 2025
1 parent ce7aaa5 commit 9bd9fdf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ export function DropdownStepFormField(
</Flex>
</Flex>
</ListItem>
{errorToShow != null ? (
<StyledText desktopStyle="bodyDefaultRegular" color={COLORS.red50}>
{errorToShow}
</StyledText>
) : null}
</Flex>
)}
</Flex>
Expand Down

0 comments on commit 9bd9fdf

Please sign in to comment.