[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 Harrin4mo 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
MajistraFila4mo 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 Harrin4mo ago
upgrade filament
MajistraFila
MajistraFila4mo ago
ok thanks, and after that? i have tried it but still gives same msg, should i publish something?
Dan Harrin
Dan Harrin4mo ago
please clear your browser cache
MajistraFila
MajistraFila4mo ago
i opened it in private browser but still same msg
Dan Harrin
Dan Harrin4mo ago
run php artisan about and tell me the filament version it says
MajistraFila
MajistraFila4mo ago
No description
Dan Harrin
Dan Harrin4mo ago
run artisan filament:upgrade and clear your browser cache again i definitely fixed this this morning
MajistraFila
MajistraFila4mo ago
i installed a new browser(firefox) but nothing new, should i change it manually in a file?
Dan Harrin
Dan Harrin4mo ago
oh wait ive been misreading this issue the whole time
Solution
Dan Harrin
Dan Harrin4mo ago
you can customize the message in lang/validation.php
MajistraFila
MajistraFila4mo ago
in the filament folder?
Dan Harrin
Dan Harrin4mo ago
its not to do with filament, its just a laravel validation message
MajistraFila
MajistraFila4mo 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