Update chart editor dropdowns to be searchable

This commit is contained in:
EliteMasterEric
2024-06-05 20:09:26 -04:00
parent 6d133f007d
commit 6fb19dc4d3
3 changed files with 6 additions and 1 deletions
@@ -209,6 +209,9 @@ class ChartEditorEventDataToolbox extends ChartEditorBaseToolbox
var dropDown:DropDown = new DropDown();
dropDown.id = field.name;
dropDown.width = 200.0;
dropDown.dropdownSize = 10;
dropDown.dropdownWidth = 300;
dropDown.searchable = true;
dropDown.dataSource = new ArrayDataSource();
if (field.keys == null) throw 'Field "${field.name}" is of Enum type but has no keys.';