Open chrisdburr opened 2 weeks ago
Evidence url now available on the evidence create form
In staging
- @chrisdburr can you please review, thanks.
Thanks, Rich. Seems good 👍
Happy to close, but would suggest we look into additional form input validation when we know more about the types of inputs we wish to allow.
Sorry, reopening as I have just found a bug while reviewing another issue.
If the user leaves the URL field blank and then clicks the 'add' button, nothing happens and the button is left selected. You can't then add a URL subsequently.
I suggest we allow the users to leave the URL blank rather than enforcing this. However, we should make sure that a NULL value is added to the DB.
Corrected the api to allow for Null
value for the URL
when creating Evidence
.
In PR waiting on review
As highlighted in #442 when a user adds an evidence element, there is no option to add a URL. It requires reselecting the evidence element after creation.
Please can we add this field during element creation?