react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

Filter with default value

Open binhfoto opened this issue 9 years ago • 2 comments

Hi,

I think this is a nice feature we should have for filter.

  • Default value should be available as well for fields in filter section, so that at the first loading time, we can see filter records. Such as user can see products are sold today, not the whole week/month. I hope that my proposal can make more and more user to use this fantastic 'admin-on-rest'.

Thanks.

binhfoto avatar Dec 20 '16 02:12 binhfoto

I think it's already possible by using filterValues use the Filter component.

wadjeroudi avatar Jan 16 '17 14:01 wadjeroudi

Yeah, it is. Thank all.

binhfoto avatar Feb 02 '17 15:02 binhfoto