Maria-Liakata-NLP-Group / annotations-interface

New iteration of the Annotations Interface tool
MIT License
0 stars 0 forks source link

Dynamically update SelectField based on selection in another SelectField #38

Closed dsj976 closed 11 months ago

dsj976 commented 1 year ago

Summary

The annotation label structure is nested: the typical label has a parent label and several child labels. Labels on the same level in the tree should appear in the same SelectField, and based on the selection in that SelectField, the choices on the SelectField to its right should populate dynamically by querying the child labels of the selection from the database.

After doing some research, it appears that the best approach is to use JavaScript to update the options of the second SelectField based on the user's choice in the first SelectField.

What needs to be done?

Useful links

Relates issues

34

Updates

Lorem ipsum dolor sit amet, consectetur adipiscing.

dsj976 commented 11 months ago

This is now done