[Solved]Import Action : msg error when File didn't selected

hi everyone, i ask how to customize msg error when any file was selected, thank you
No description
Solution:
you can customize the message in lang/validation.php
Jump to solution
16 Replies
Dan Harrin
Dan Harrin10mo ago
GitHub
Release v3.2.37 · filamentphp/filament
Lock Async Alpine to v1.2.1, they released v1.2.2 which broke usage inside modals. Full Changelog: v3.2.36...v3.2.37
MajistraFila
MajistraFilaOP10mo ago
thank you for your reply but where i should put the msg validation inside import action thank you for your response, i don't really understand what was written in github page, but i opened the file-uploade.js and search for the msg displayed where error and nothing found, thank u again
Dan Harrin
Dan Harrin10mo ago
upgrade filament
MajistraFila
MajistraFilaOP10mo ago
ok thanks, and after that? i have tried it but still gives same msg, should i publish something?
Dan Harrin
Dan Harrin10mo ago
please clear your browser cache
MajistraFila
MajistraFilaOP10mo ago
i opened it in private browser but still same msg
Dan Harrin
Dan Harrin10mo ago
run php artisan about and tell me the filament version it says
MajistraFila
MajistraFilaOP10mo ago
No description
Dan Harrin
Dan Harrin10mo ago
run artisan filament:upgrade and clear your browser cache again i definitely fixed this this morning
MajistraFila
MajistraFilaOP10mo ago
i installed a new browser(firefox) but nothing new, should i change it manually in a file?
Dan Harrin
Dan Harrin10mo ago
oh wait ive been misreading this issue the whole time
Solution
Dan Harrin
Dan Harrin10mo ago
you can customize the message in lang/validation.php
MajistraFila
MajistraFilaOP10mo ago
in the filament folder?
Dan Harrin
Dan Harrin10mo ago
its not to do with filament, its just a laravel validation message
MajistraFila
MajistraFilaOP10mo ago
oh, the msg was changed after upgrading, it gives "validation.required ", coz i change fallback_locale from en to fr thank you for u r help, problem resolved
Want results from more Discord servers?
Add your server