Open jupiter007 opened 1 month ago
@magicalmary we added this ticket to remove the user-entered value from the dropdown and to fix the issue with the Repository URL helper text displaying, even when the field is hidden.
As part of a separate ticket, #580 , I have created a typeahead component that forces users to make a selection from the dropdown, or select "Other" to enter a different name. I attached a movie to that ticket showing how it works. I want to run it by you at our next stand up to see what you think before I commit anything to git.
Currently, the typeahead controller adds the user-entered value as the top entry in the dropdown (see attached movie below).
We believe users may be selecting that option from the dropdown, thinking it's an existing match for their entry, rather than it just reflecting what they just entered. This functionality may be adding to duplicate entries as well.
Another bug that was observed is that the helper text/microtext below the "Repository URL" field displays, even when that field is hidden.
To Reproduce Steps to reproduce the behavior:
Expected behavior The user-entered value should not be added to the dropdown selection
Screenshots Below is a movie displaying the functionality described above.
https://github.com/CDLUC3/dmptool/assets/8452761/34d85256-a0bc-44cc-834b-42f7ec3b3590