validation on Select field (#8316)

fix #8204
I changed "API keys" to "API values".
Stopped inputting special characters in Select field option keys.

@lucasbordeau please check the changes and tell me if I need to do any
other changes. :)

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
Ketan Mehta
2024-11-14 22:16:18 +05:30
committed by GitHub
parent 15b8b9b158
commit 51c54d4c5b
22 changed files with 96 additions and 204 deletions

View File

@ -43,12 +43,11 @@ const StyledTag = styled.h3<{
border: ${({ variant, theme }) =>
variant === 'outline' || variant === 'border'
? `1px ${variant === 'border' ? 'solid' : 'dashed'} ${theme.border.color.strong}`
: ''};
: 'none'};
gap: ${spacing1};
min-width: ${({ preventShrink }) =>
preventShrink ? 'fit-content' : 'none;'};
min-width: ${({ preventShrink }) => (preventShrink ? 'fit-content' : 'none')};
`;
const StyledContent = styled.span`