Closed abhaypithadiya closed 1 year ago
Hi I solved this by installing flatpickr via npm and importing it in app.js
npm i flatpickr --save
resources/js/app.js
import flatpickr from "flatpickr";
import 'flatpickr/dist/flatpickr.min.css'
Same issue here. @ElGittoJunior's suggestion fixed it. Thanks
Hi I solved this by installing flatpickr via npm and importing it in app.js
npm i flatpickr --save
resources/js/app.js
import flatpickr from "flatpickr";
import 'flatpickr/dist/flatpickr.min.css'
This worked for we as well.
Hey, for livewire 3, Check the documentation here: https://livewire-powergrid.com/table/column-filters.html#filter-datetimepicker
I also had to do this:
import flatpickr from "flatpickr";
window.pgFlatpickr = flatpickr;
pgFlatpickr
This worked for me
Have you searched through other issues to see if your problem is already reported or has been fixed?
Yes, I did not find it.
Did you read the documentation?
Yes, I did not find it.
Have you tried to publish the views?
Yes - I didn't work.
Is there an error in the console?
PHP Version
8.1
PowerGrid
v4.4.2
Laravel
v10.9.0
Livewire
v2.12.3
Alpine JS
3.12.0
Theme
Bootstrap
Describe the bug.
Created a new Table and came across this error as datetime filter was already configured.
To Reproduce...
First click on "FOO" then....
Extra information