Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jonth93 opened this issue Jul 4, 2023 · 5 comments
Open

Comments

@jonth93
Copy link

jonth93 commented Jul 4, 2023

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
Copy link
Member

lrljoe commented Jul 28, 2023

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

@lrljoe
Copy link
Member

lrljoe commented Aug 20, 2023

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
Copy link
Author

jonth93 commented Aug 20, 2023 via email

@lrljoe
Copy link
Member

lrljoe commented Aug 26, 2023

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
Copy link
Member

lrljoe commented Sep 5, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants