Hi,
If I have the following code:
Forms\Components\FileUpload::make('image')
->saveUploadedFileUsing(function() {
if($get('storage') == 'images') {
CODE
}
})
If the if is not satisfied, how can I get it to do the default method? That is, as if saveUploadedFileUsing has not been defined. My problem is that if the condition is not met, it doesn't work in all other cases.
Thanks