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
I was trying to use a BelongsTo field, with searchable inside of a NovaDependencyContainer, but when creating a new record, the request to load the items when searching returns a 404.
It happens because the method areDependenciesSatisfied from HasDependencies trait returns returns false. The $request in that case is empty, containing only the parameters for the search, so it is expected that the dependencies won't be satisfied.
In this case, the field is not returned by the method availableFields and the request returns a 404.
Am I doing something wrong or this is expected?
The text was updated successfully, but these errors were encountered:
I have the same/similar issue, when I duplicated the belongsto field outside the nova dependency container closure (and then hide it), it started to work again and I was able to select the relationship from the dropdown.
It was working without this before, I recently upgraded Nova to latest version, something must've changed there.
Hello,
I was trying to use a
BelongsTo
field, withsearchable
inside of aNovaDependencyContainer
, but when creating a new record, the request to load the items when searching returns a 404.It happens because the method
areDependenciesSatisfied
fromHasDependencies
trait returns returnsfalse
. The$request
in that case is empty, containing only the parameters for the search, so it is expected that the dependencies won't be satisfied.In this case, the field is not returned by the method
availableFields
and the request returns a 404.Am I doing something wrong or this is expected?
The text was updated successfully, but these errors were encountered: