Open
Description
Flux version
v2.0.2
Livewire version
v3.5.20
Tailwind version
v4.0.8
Browser and Operating System
Chrome on macOS
What is the problem?
In the documentation: https://fluxui.dev/components/date-picker#all-time, you mention method isNotAllTime()
:
<?php
$orders = Order::when($this->range->isNotAllTime(), function ($query) => {
$query->whereBetween('created_at', $this->range);
})->get();
Unfortunately, this method is not in the Flux\DateRange
class, and it dies with the exception: Method isNotAllTime does not exist.
Code snippets
$orders = Order::when($this->range->isNotAllTime(), function ($query) => {
$query->whereBetween('created_at', $this->range);
})->get();
How do you expect it to work?
There will be the method isNotAllTime() that can be used in the QueryBuilder.
Please confirm (incomplete submissions will not be addressed)
- I have provided easy and step-by-step instructions to reproduce the bug.
- I have provided code samples as text and NOT images.
- I understand my bug report will be closed if I haven't met the criteria above.
Metadata
Assignees
Labels
No labels
Activity