Skip to content

Issue in filter's view #1

@TusharSingh4

Description

@TusharSingh4

return [
CategoryTypeFilter::make('Category', 'category_id'),
DependentFilter::make('SubCategory', 'sub_category_id')
->dependentOf('category_id')
->withOptions(function (Request $request, $filters) {
return \App\Models\SubCategory::where('category_id', $filters['category_id'])
->pluck('title', 'id');
}),
];

I can see the Options call, when i select the category options, in fact the response is also correct in that call, but somehow the view of filter SubCategory is broken, not able to click and expand select option of SubCategory Filter, Category Filter is working fine though, but i think there is some issue in the view

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions