F
Filament13mo ago
Matthew

DatePicker UI bug, shows days as single column

DatePicker::make('date_of_purchase')
->required()
->native(false)
->displayFormat('d/m/Y'),
DatePicker::make('date_of_purchase')
->required()
->native(false)
->displayFormat('d/m/Y'),
No description
6 Replies
Matthew
MatthewOP13mo ago
Expectation:
No description
Matthew
MatthewOP13mo ago
What I have done: I ran the following commands:
php artisan filament:upgrade
php artisan filament:assets
php artisan route:clear
php artisan cache:clear
npm install
npm run build
php artisan serve --host=localhost
php artisan filament:upgrade
php artisan filament:assets
php artisan route:clear
php artisan cache:clear
npm install
npm run build
php artisan serve --host=localhost
But they didnt help. I even commented out all my theme changes, but they didnt help either I also deleted all the node files as well as vendor, but again, nothing I created a new project, but there I dont have the issue
gladjanus43
gladjanus4313mo ago
What happens if you do npm run dev? Or rerun npm run build
Matthew
MatthewOP13mo ago
nothing happens But I solved the issue. I had to delete the published blade files. I though that by running filament:asstes or upgrade, they would be overwritten but apparently not
DrByte
DrByte13mo ago
Correct: published assets are never overritten unless you re-publish them with --force ... which would wipe out any customizations you've made to them ... which would make publishing them pointless. Best to never publish any assets you're not actually overriding.
Matthew
MatthewOP13mo ago
Yep. I agree
Want results from more Discord servers?
Add your server