plone / plone.formwidget.autocomplete

z3c.form widget for Plone using jQuery Autocomplete
https://pypi.org/project/plone.formwidget.autocomplete
2 stars 12 forks source link

Enhancement: jquery parameters defined in AutocompleteBase should be a configuration in registry #24

Open idgserpro opened 5 years ago

idgserpro commented 5 years ago

If I want to change maxResults for example:

https://github.com/plone/plone.formwidget.autocomplete/blob/cd791c8a2cc2df21e116746adb8a27d91a9f7ff4/plone/formwidget/autocomplete/widget.py#L87

I need to subclass/override the class or even create a patch. Being a registry entry, I can edit it using controlpanel.