Closed hjJunior closed 8 months ago
Does it work anywhere else in the project?
I'm getting the same error, can this problem be resolved?
I'm getting the same error, can this problem be resolved?
Where are you using the filter?
@malzariey This is how I use it, the error message is as follows:
Works as expected,
Tables\Actions\Action::make('test')->form([
DateRangePicker::make('created_at')
])
Could you please share a reproduction repository of the issue?
Works as expected,
Tables\Actions\Action::make('test')->form([ DateRangePicker::make('created_at') ])
Could you please share a reproduction repository of the issue?
Sorry, this is a private project so I can't share it, but I see that the assets files are not being created.
at the assets files are not being created.
I meant create a new project repreducing the issue only.
Note: Are you using a custom page outside Filament Panel?
at the assets files are not being created.
I meant create a new project repreducing the issue only.
Note: Are you using a custom page outside Filament Panel?
Thanks for your time, I fixed it.
I run the command php artisan filament:install
and
Hey 👋, first, thanks for the library/plugin!
I'm trying to install it, and I'm getting the
dateRangeComponent is not defined
on browser consoleVersions:
Usage
Current behavior
It renders the component on filter space, but the component is not clickable, and prints on browser console a error
Logs
``` livewire.js?id=51f84ddf:1252 Alpine Expression Error: dateRangeComponent is not defined Expression: "dateRangeComponent({ state: window.Livewire.find('aMlvhewpJjEW1S9o9oKW').entangle('tableFilters.created_at.created_at'), name: '652c91bdb5851', alwaysShowCalendars: true, autoApply: 'false', linkedCalendars: 'true', autoUpdateInput: false, startDate: null, endDate: null, maxDate: null, minDate: null, timePicker: 'false', timePickerIncrement: 30, displayFormat: 'DD\/MM\/YYYY', applyLabel: 'Apply', cancelLabel: 'Cancel', fromLabel: 'From', toLabel: 'To', customRangeLabel: 'Custom', january: 'January', february: 'February', march: 'March', april: 'April', may: 'May', june: 'June', july: 'July', august: 'August', september: 'September', october: 'October', november: 'November', december: 'December', sunday: 'Su', monday: 'Mo', tuesday: 'Tu', wednesday: 'We', thursday: 'Th', friday: 'Fr', saturday: 'Sa', firstDay: 1, ranges: JSON.parse('{\u0022Today\u0022:[\u00222023-10-16\u0022,\u00222023-10-16\u0022],\u0022Yesterday\u0022:[\u00222023-10-15\u0022,\u00222023-10-15\u0022],\u0022Last 7 Days\u0022:[\u00222023-10-10\u0022,\u00222023-10-16\u0022],\u0022Last 30 Days\u0022:[\u00222023-09-17\u0022,\u00222023-10-16\u0022],\u0022This Month\u0022:[\u00222023-10-01\u0022,\u00222023-10-31\u0022],\u0022Last Month\u0022:[\u00222023-09-01\u0022,\u00222023-09-30\u0022],\u0022This Year\u0022:[\u00222023-01-01\u0022,\u00222023-12-31\u0022],\u0022Last Year\u0022:[\u00222022-01-01\u0022,\u00222022-12-31\u0022]}'), handleValueChangeUsing: (value, name) => { if (name == '652c91bdb5851') { window.Livewire.find('aMlvhewpJjEW1S9o9oKW').set('tableFilters.created_at.created_at', value); } }, })"Reproduction code
On relation manager: