csse-uoft / ckanext-udc

GNU Affero General Public License v3.0
1 stars 0 forks source link

boolean properties are not displaying correctly #3

Closed bgajdero closed 1 year ago

bgajdero commented 1 year ago

When defining a boolean property, it is not displayed and saved correctly. Example, using "checkbox": { "label": "Label Text", "name": "field_name", "type": "checkbox" }

Displays as a long bar and safes as an empty string "". Should be saved as a JSON boolean type: True or False