TASSILI Docs
search
menu
TASSILI Docs
search
search
File Upload
How to declare a File Upload.
use Tassili\Crud\Fields\FileUpload;

FileUpload::make('file')
  ->label('New label') // optional
  ->readOnly() // optional, if you want the field only readable when you update 
  ->folder('posts/images') // optional, if you want to change the folder storage 
  ->notInDatabase() // optional, if you don't want this field in database