Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Pixelairport's avatar

Filterable field not working.

I read the whole documentation of nova right now. I now also tested a bit, but something is not working. In the section of defining filters, they say I first should see filterable fields. There is an example, which i put in user resource:

DateTime::make('Created At')->filterable()

But i get this error notification in the system:

Method Laravel\Nova\Fields\DateTime::filterable does not exist.

PS: Is there an overview, which fields are filterable?

0 likes
3 replies
godfredcs's avatar
Level 2

@pixelairport I think ->filterable() was introduced in nova version 4.0 so it may not work for you if you're using an earlier version.

2 likes
Pixelairport's avatar

@godfredcs :) thx... the question was 5 month ago... forgot that this was online. We already upgraded to a newer version.

2 likes

Please or to participate in this conversation.