experimenter
experimenter copied to clipboard
[HTMX UI] Additional Links cannot be deleted if the field has an unsupported URL
[Steps to reproduce]:
- Open the experimenter page of any experiment in draft.
- Navigate to the "Overview" page and click the "+Add Link" button.
- Enter an unsupported URL (e.g. http://www.google.com ).
- Click the "Delete Link" button and observe the behavior.
[Expected result]:
- The "Additional Link" field is removed from the page.
[Actual result]:
- The "Enter a valid URL." error is displayed, and the field is not removed.
[Notes]:
- It appears that the page tries to validate the URL before saving changes or deleting the link.
- The field is removed if the invalid URL was deleted or the page was refreshed
- Attached a screen recording of the issue:
┆Issue is synchronized with this Jira Bug ┆Attachments: additional_links_cant_delete.gif