New source form errors are not cleared after input values have been fixed
alex-ketch opened this issue · 0 comments
alex-ketch commented
If an input field contains an error, the form is not able to be re-submitted even after the issue has been addressed.
The only way to fix it is to reload the page.
To reproduce:
- Navigate to a Project on the Hub
- Add a new GitHub source
- Enter
stenci.la
as theUrl
- Click
Create Source
button - See
Not a valid GitHub URL.
error - Fix the
Url
value by enteringhttps://github.com/stencila/hub/blob/master/README.md
- Click
Create Source
button - 🐛 Nothing happens, error is still shown
- Reload page, and enter correct
Url
from step 6 - Source is successfully created
As part of this issue, we should verify that this bug is not present on other forms.