Skip to content

Commit

Permalink
fix: fix max length for inputs (#541)
Browse files Browse the repository at this point in the history
Co-authored-by: Расул <[email protected]>
  • Loading branch information
Rassl and Расул authored Nov 1, 2023
1 parent 9411d3d commit 9239e72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AddContentModal/SourceStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const SourceStep: FC<Props> = ({ type, onNextStep, value }) => (
<Flex mb={12}>
<TextInput
id="cy-youtube-channel-id"
maxLength={50}
maxLength={250}
name="source"
placeholder="Paste your url here..."
rules={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/AddSourceModal/SourceStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const SourceStep: FC<Props> = ({ onNextStep, value }) => (
</Flex>

<Flex mb={12}>
<TextInput id="cy-youtube-channel-id" maxLength={50} name="source" placeholder="Paste your url here..." />
<TextInput id="cy-youtube-channel-id" maxLength={250} name="source" placeholder="Paste your url here..." />
</Flex>
<Flex>
<Button color="secondary" disabled={!value} onClick={onNextStep} size="large" variant="contained">
Expand Down

0 comments on commit 9239e72

Please sign in to comment.