datadryad / dryad-product-roadmap

Repository of issues for Dryad project boards
https://github.com/orgs/datadryad/projects
8 stars 0 forks source link

Research domain dropdown #3759

Closed ryscher closed 1 week ago

ryscher commented 2 weeks ago

Research domain dropdown does not work

ryscher commented 1 week ago

This appears to be caused when there is content present in the field. When the field is empty, the dropdown works correctly.

Workaround: If you select the contents of the field and delete them, then clicking on the field again will bring up the selection list.

A subtle issue is related to the browser:

ahamelers commented 1 week ago

This appears to be a problem with the HTML datalist between different browsers: https://stackoverflow.com/questions/75946314/html-input-datalist-not-allowing-a-reselect-of-option

In the submission redesign we have removed this and we are using a more standard search-and-select component.

Doing that in the existing system requires a lot of edits throughout the code, so in the meantime I will just change the production system code to use a standard select element (without typing to search).