plain-purple
plain-purple7mo ago

Hello, does anybody have a working

Hello, does anybody have a working example of datePicker in dropdown filter for ant design table and useTable?
4 Replies
kapa.ai
kapa.ai7mo ago
Hi @Batu. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
ratty-blush
ratty-blush7mo ago
GitHub
refine/examples/app-crm/src/routes/administration/audit-log.tsx at ...
Build your React-based CRUD applications, without constraints. 🌟 Star to support our work! - refinedev/refine
kapa.ai
kapa.ai7mo ago
Sorry @Batu, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist: Perhaps try again in 15mins?
foreign-sapphire
foreign-sapphire7mo ago
Thank you. I met a problem, I used FilterDropdown with my date field stored in unix timestamp format, and FilterDropdown provides a function for mapping value, but unfortunatly it is only one directional, and helps convert timestamp to dayjs for passing it to DatePicker, but when I save the record it is automaticaly (hardcoded) converted to string. I would like to propose to add second function for back converting.