mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
chore: implement validation for accepting 'http://' and 'https://' url in link modal (#3147)
This commit is contained in:
committed by
GitHub
parent
5b67f27345
commit
2edd2d947e
@@ -118,6 +118,7 @@ export const LinkModal: FC<Props> = (props) => {
|
||||
ref={ref}
|
||||
hasError={Boolean(errors.url)}
|
||||
placeholder="https://..."
|
||||
pattern="^(https?://).*"
|
||||
className="w-full"
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user