gitana/alpaca

Line space in array of checkboxes

Opened this issue · 0 comments

When creating a list of checkboxes using enum and array, there are many blank lines added almost equal to the number of items in the array. This moves actual checkboxes below title in front end.

Below is the partial schema showing language checkboxes:
"schema": { "title": "Asset Type(s)", "type": "object", "properties": { "key_info": { "type": "object", "properties": { "language": { "type": "array", "enum":["Arabic","Bulgarian","Croatian","Czech","Danish","Dutch","Estonian","Finnish","French","German","Greek","Hebrew","Hungarian","Italian","Latvian","Lithuanian","Norwegian","Polish","Portuguese","Romanian","Russian","Serbian","Slovakian","Slovenian","Spanish","Swedish","Turkish","Ukrainian","Other"],

Here is the front-end for above schema:

Space_issue

Browser console shows many empty divs above actual checkboxes:

empty_divs