activeadmin_addons
activeadmin_addons copied to clipboard
Uncaught TypeError: Cannot read property 'toUpperCase' of undefined
Uncaught TypeError: Cannot read property 'toUpperCase' of undefined - after ajax search
Hey @Charly3X , that's probably because the fieldname your trying to display on the select is not name, this addon defaults to the field name, but you can set your own.
I've updated the docs to better note this.
https://github.com/platanus/activeadmin_addons/commit/7a5cd9a78cb3a4a8ee25ae1fb06699c822ac954d#diff-4206755b98c333baa874be4a449be3acR8