grav-plugin-flex-objects
grav-plugin-flex-objects copied to clipboard
"selectize" field type handling and filtering in list view
Hello, following the issue here, there seems to be an unexpected behaviour in field representation. Relevant my_object.yaml parts:
test_tags:
type: selectize
size: large
label: Test Tags
classes: fancy
validate:
type: commalist
test_category:
type: selectize
size: large
label: Test Category
classes: fancy
validate:
type: commalist
- added field(s) do not have the autocomplete function, otherwise found, for example, in
taxonomy
field type. This is very very helpful in creating a catalog or any other type of organized data. - added field(s) results in ["Test1","Test2","Test3"] in list view, typical array/plain text representation.
- added field(s) cannot be searched while other text fields can. We could expect the field to be searchable, given its plain text representation of the array.
Thank you!
+1
I use selectize fields to create relationships between content using data-options@ to return a list of the pages but this does not work while the Flex Objects plugin is enabled. It only displays the saved value of the field with none of the options from the function. Current working situation is to disabled the plugin, but that gives a big ugly error on the dashboard.
+1
@treechime, maybe it's enough to disable Flex Objects for pages? I only discovered that option after quite a while.
I was just wondering if any progress has been made on the topic. Thanks!
Just today I encountered the same problem. Perhaps somebody can give a hint or solution.