Skip to content

Filters are not applied by default #56

@asbpette

Description

@asbpette

I am trying to set filters like documented, but the filters are not applied as i expect. Does anybody have an idea on why?

I am defining the cols, per docs.

const cols = reactive([
	{
	field: "status.status",
	title: "Status",
	filter: true,
	condition: "is_null",
	value: "",
	type: "string",
	isUnique: false,
	hide: false,
	search: true,
	sort: true,
	html: false,
	},
	{...},
	{...}
]),

With this code, i expect the column to automatically filter rows where status.status is null, but no matter what i add as "condition" the filter is set to "contains"

Any ideas to how i should debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions