nitinkaware
Select On Change
I was also experiencing the same error:
Cannot read properties of null (reading '__livewire')
. The issue was caused by passing a closure to the options
method, along with reactive
method. I resolved the issue by removing the code from the closure and using a direct array instead.13 replies
Is there any way to ask user confirmation before file is removed from FileUpload field?
Yes, for notification it's possible. But for the confirmation pop-up, as of now, it's not possible as mentioned. I will try to figure it out if I can find a way. Thanks for the help
12 replies
Is there any way to ask user confirmation before file is removed from FileUpload field?
Thanks, I figured out that I can override the FilePond field and create my own view and in that view, I can have something like the below in JS
What I want now is that is there any way to fire up the native confirmation action that Filament has. for e.g like
requiresConfirmation
?12 replies
Is there any way to ask user confirmation before file is removed from FileUpload field?
The
requiresConfirmation
method exits on the action, and not on the field. The file pond do. have a beforeRemoveFile
callback, but I am not sure how can I hook it into JS.12 replies