LowerRockLabs / LaravelLivewireTablesAdvancedFilters

Advanced filters for Rappasoft Laravel Livewire Tables
8 stars 0 forks source link

Feature Request: Default date range on config for DateRangeFilter #77

Open jonth93 opened 1 year ago

jonth93 commented 1 year ago

Would it be possible to set a default range filter:

'dateRangeDefStart' => '{{DATE}}'
'dateRangeDefEnd' => 'date('d-m-Y')'

Mainly requesting this as the default placeholder is todays date to todays date as so: image

Or even the ability to set a placeholder?

lrljoe commented 1 year ago

Thanks for highlighting this, I'll take a look in due course about placeholders, should be fine.,

lrljoe commented 1 year ago

Apologies. I've been kept busy with the core package.

DateRangeFilter is in the core of v3 and behaves a bit better, and has the placeholder functionality.

v3 should be in beta next week.

jonth93 commented 1 year ago

Awesome, will update to V3 when available. Thank you

On Sun, 20 Aug 2023, 01:55 Joe, @.***> wrote:

Apologies. I've been kept busy with the core package.

DateRangeFilter is in the core of v3 and behaves a bit better, and has the placeholder functionality.

v3 should be in beta next week.

— Reply to this email directly, view it on GitHub https://github.com/LowerRockLabs/LaravelLivewireTablesAdvancedFilters/issues/77#issuecomment-1685143648, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBKFD26RDKQIVM77E737MTXWFOB7ANCNFSM6AAAAAAZ5UGHCI . You are receiving this because you authored the thread.Message ID: <LowerRockLabs/LaravelLivewireTablesAdvancedFilters/issues/77/1685143648@ github.com>

lrljoe commented 1 year ago

This is fixed in the Rappasoft v3 beta, as DateRangeFilter is a core feature as of v3. I'll be backporting some fixes into v2 once v3 is stable and released. If you're going to Livewire 3, then definitely check out the core Rappasoft V3 beta.

lrljoe commented 1 year ago

@jonth93 the beta for v3 is available on the core Rappasoft repo. It does utilise Livewire v3, so I'll be backporting some enhancements in due course to v2.

There's a link to the official Rappasoft discord on the core repo too, which you may find useful as both Rappasoft and myself are fairly active on there.