Skip to content

Commit 908fdfd

Browse files
author
vikasrohit
committed
Github issue #467 Links: critical problems with view and validation
-- Relaxed the URL validation to be similar as with member profile in members app
1 parent deb7f43 commit 908fdfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/LinksMenu/AddLink.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ class AddLink extends React.Component {
4747
type="text"
4848
validationError="This is a required field."
4949
validations={{
50-
isUrl: true,
50+
isRelaxedUrl: true,
5151
isRequired: true
5252
}}
5353
validationErrors={{
54-
isUrl: 'Please enter a valid URL'
54+
isRelaxedUrl: 'Please enter a valid URL'
5555
}}
5656
wrapperClass="form-group"
5757
/>

0 commit comments

Comments
 (0)