AllenNeuralDynamics / aind-metadata-entry-js

Metadata entry using javascript
https://metadata-entry.allenneuraldynamics.org
MIT License
1 stars 1 forks source link

processAnyOf to handle uneccessary dropdowns #165

Closed mekhlakapoor closed 1 month ago

mekhlakapoor commented 5 months ago

closes #148

Handles AnyOfs so that the app no longer renders redundant dropdowns. If decimal or basic field type (string, int, bool, etc) and if optional, allows nullable input field. Otherwise, creates dropdown as needed. Also adds unit tests for a couple cases

before:

Screen Shot 2024-04-04 at 8 43 56 PM Screen Shot 2024-04-04 at 8 44 56 PM

after:

Screen Shot 2024-04-04 at 8 42 56 PM Screen Shot 2024-04-04 at 8 45 12 PM
helen-m-lin commented 1 month ago

Closing stale PR. The issue has been fixed in PR #178