mikebronner / nova-file-upload-field

The easiest drag-and-drop file uploading field for Laravel Nova.
MIT License
53 stars 7 forks source link

Customize placeholder and allowed input methods #14

Open Kturva opened 4 years ago

Kturva commented 4 years ago

I thought it could be useful to be able to customize the additional input methods (drop/url paste) and the placeholder, so if I only want to use the file dialog I could do something like:

FileUpload::make(...)
    ->placeholder('Select file')
    ->disableDrop()
    ->disableUrlPaste()

Just a thought, the library is looking great. ☺️

mikebronner commented 4 years ago

Hi @Kturva Good ideas :) I'll see what I can do.