Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reset button doesn't work in case we put a custom url that already exists #47

Open
ksh168 opened this issue Jan 4, 2021 · 2 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers User Interface Issues related to UI

Comments

@ksh168
Copy link
Owner

ksh168 commented Jan 4, 2021

When we put a custom URL that already exists, the web page shows the error message "custom end already exists" but the reset button doesn't work here now.

@ksh168 ksh168 added bug Something isn't working good first issue Good for newcomers User Interface Issues related to UI OSF NITW labels Jan 4, 2021
@ksh168
Copy link
Owner Author

ksh168 commented Jan 4, 2021

@sahil-ramagiri when you worked on #29 , after that I added the reset button. But when the provided custom_url already exists, and the error message comes, reset button doesn't work.
How to rectify it?

@sahil-ramagiri
Copy link
Contributor

when the page loads with error message the default values for form fields are those urls, so the reset button can only reset back to these values, to resolve this you have to set the value of input elems to empty string with js, I don't no any other easy way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers User Interface Issues related to UI
Projects
None yet
Development

No branches or pull requests

2 participants