Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Has anyone else encountered issues with pressing enter in a gridfield_relationsearch field?

Go to End

3 Posts   1547 Views


Community Member, 5 Posts

27 June 2016 at 2:41pm

I'm talking about this little guy:

When a user hits <enter> with this input selected, I'm seeing a POST to /admin/pages/edit/EditForm/field/whatever_the_relation_is_called.

SS in response is throwing a 500 with

ERROR [User Error]: Uncaught InvalidArgumentException: Can't handle action "find"
IN POST /admin/pages/edit/EditForm/field/RelatedPages
Line 915 in /Users/grg/www/karbonHQ/framework/forms/gridfield/GridField.php

Has anyone else experienced this, is there something that is meant to prevent the default behaviour on this field while it's ajaxing?

Thanks for your time.


Community Member, 10 Posts

15 July 2016 at 3:02am

Edited: 15/07/2016 3:03am

Yep, while using gridfield on the frontend and editing (or in this case just trying to use search) a dataobjects has_many object. I am searching what am I doing wrong.


Community Member, 5 Posts

15 July 2016 at 11:50am

Let me know if you find anything :)