You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I comment out the callback method the error message correctly displays the content: Please provide a valid callback option "filter" for field "employmentContracts"
Since it uses $this->getName().
I guess $this->getName() should be passed to the call_user_func too, right?
The text was updated successfully, but these errors were encountered:
When the filter is applied
$field
will be empty. It has to be set manually.Source:
https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/master/Filter/CallbackFilter.php#L29-36
But when I comment out the
callback
method the error message correctly displays the content:Please provide a valid callback option "filter" for field "employmentContracts"
Since it uses
$this->getName()
.I guess
$this->getName()
should be passed to thecall_user_func
too, right?The text was updated successfully, but these errors were encountered: