orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.33k stars 641 forks source link

DateRange filter does not display properly #2588

Open davidfabbretti opened 1 year ago

davidfabbretti commented 1 year ago

Describe the bug When you use a TD::FILTER_DATE on a column, the component does not display properly, it show opened in the screen.

To Reproduce Steps to reproduce the behavior:

Screenshots WhatsApp Image 2023-04-20 at 10 17 10

Nks commented 1 year ago

@davidfabbretti Can you provide a more detailed description of the error you are experiencing with examples of the code you are using?

SVV-team commented 1 year ago

Same trouble after upgrade to 14-alpha3

  TD::make('updated_at', 'Изменено')->render(
      fn($row) => $row->updated_at->toDateTimeString()
  )->filter(TD::FILTER_DATE),
  TD::make('created_at', 'Создано')->render(
      fn($row) => $row->created_at->toDateTimeString()
  )->filter(TD::FILTER_DATE),
didix16 commented 1 year ago

Same problem here and I'm using 13.9.4 version