Filament file upload issue

Here, I have a attachment form. In that form I choose a file to upload and it take time to complete upload process in temp dir. During uploading process if I do other action like type any other input field then it reset the upload: Shown in video
Solution:
I figure it out, This is because of Grammarly Extension...
Jump to solution
7 Replies
Asmit Nepali
Asmit NepaliOP8mo ago
Specially this is happing on modal
Solution
Asmit Nepali
Asmit Nepali8mo ago
I figure it out, This is because of Grammarly Extension
Asmit Nepali
Asmit NepaliOP2mo ago
Anybody have any good solution because my users may have grammarly extension.
Asmit Nepali
Asmit NepaliOP2mo ago
@Vp I tried this but it doesn't work, Do you have any idea about how to disable on modal textarea component.
Vp
Vp2mo ago
No idea, this is the PR to disable grammarly you can check and maybe try to set similar
GitHub
Add disable grammarly by sohailahmad07 · Pull Request #14416 · fila...
Description There was an issue with the rich editor It would not let you upload an image if Grammarly Browser extension is Enabled so i add a new method to disableGrammarly() that add the below att...
Asmit Nepali
Asmit NepaliOP2mo ago
Textarea::make('description')
->extraInputAttributes([
'data-gramm' => 'false',
'data-gramm_editor' => 'false',
'data-enable-grammarly' => 'false',
])
->required()
Textarea::make('description')
->extraInputAttributes([
'data-gramm' => 'false',
'data-gramm_editor' => 'false',
'data-enable-grammarly' => 'false',
])
->required()
@Vp Thank You! Solved

Did you find this page helpful?