nova-file-upload-field icon indicating copy to clipboard operation
nova-file-upload-field copied to clipboard

Customize placeholder and allowed input methods

Open Kturva opened this issue 6 years ago • 1 comments

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. ☺️

Kturva avatar Nov 27 '19 10:11 Kturva

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

mikebronner avatar Nov 27 '19 14:11 mikebronner