datajoint / sci-viz

Generic visualization framework for building dashboarding capabilities for DataJoint pipelines.
https://datajoint.com/docs/core/sci-viz
MIT License
6 stars 12 forks source link

field inputs for `boolean` attributes in dynamic forms show as `tinyint` inputs #111

Closed A-Baji closed 1 year ago

A-Baji commented 1 year ago

This is because datajoint aliases boolean types to tinyint since MySQL does not support a boolean type. There isn't a good way to address this within SciViz unless datajoint supports a way to retrieve the original table definition. Currently the heading property of a table returns the converted version of the definition, where all boolean types are tinyint.