Skip to content

Access Request Filters From Lens' Fields Function #2405

@MannikJ

Description

@MannikJ

Can I define a filter whose value I can retrieve inside the resolveUsing() callback of a field? The filter should not be applied globally, but within the field's callback.

It seems like out of the box I can only retrieve the value from within the query() function, because of the Laravel\Nova\Http\Requests\LensRequest vs. Illuminate\Http\Request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions