Skip to content

Conversation

@thivatm
Copy link

@thivatm thivatm commented Apr 9, 2019

Fixes #163

Changes proposed in the pull request

Added URL validations to the URL

Impact

The URLs will be checked whether they are valid before submitting the form

Other information

N/A

Check if you have done the following before creating the PR

  • console logs have been deleted
  • No commented code (If commented the reasons are given)

When the URL is invalid
2019-04-09 08_59_10-StackleApp

If the user tries to submit the invalid URL
2019-04-09 09_06_00-

When the URL is valid
2019-04-09 08_59_41-StackleApp

Copy link

@Rupeshiya Rupeshiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thivatm Just a little suggestion, You can write the checkUrl function in a shared service so that it can be used everywhere to validate the URL.
It will also improve the quality of code, so use DRY.
Otherwise everything else looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants