grav-plugin-form icon indicating copy to clipboard operation
grav-plugin-form copied to clipboard

Can't disable selectize for `type: select`

Open drzraf opened this issue 4 years ago • 0 comments

I'm using some Grav fields within another widget manager on the admin-side. I found that selectize binding may sometimes be annoying and would like to disable it. But I couldn't find a way to do this.

  • templates/forms/fields/select/select.html.twig forcefully creates the data-grav-selectize attribute.
  • <admin-plugin>/themes/grav/app/forms/fields/selectize.js forcefull SelectizeField any DOM node having the above attribute (whatever it's value is)

drzraf avatar Dec 12 '19 13:12 drzraf