CDLUC3 / dmptool

DMPTool version of the DMPRoadmap codebase
https://dmptool.org
MIT License
56 stars 13 forks source link

Updated Typeahead and researchoutputs.js to handle new 'Other' repository name field #593

Closed jupiter007 closed 1 month ago

jupiter007 commented 1 month ago

Fixes #580

Previously, I added a new Typeahead.jsx component to force users to select from the dropdown, or select 'Other' and add a new repository. However, this was not hooked up into the the researchoutputs.js file because we were not yet handling the new 'other' field.

I made updates now to handle the 'Other' scenario, so that the value from that field will be mapped to the 'title' for that dataset.

I would like to push this to stage so that Mary can test it.

mariapraetzellis commented 1 month ago

This one looks good & working as expected.

jupiter007 commented 1 month ago

Thanks for reviewing it @mariapraetzellis