tiny-date-picker icon indicating copy to clipboard operation
tiny-date-picker copied to clipboard

DOM element could be not a <input>?

Open valeriosillari opened this issue 5 years ago • 0 comments

I would like to trigger/show the date picker when user click an element that is not an input, for example a

I've tried with a button element. It seems working on Chrome, but not on Safari andFirefox.

The trigger element has to be a input only, or there's a way to achieve what I would like to have. Not sure if possible or I'm forcing the plugin to do something not intended to :)

valeriosillari avatar Nov 25 '19 19:11 valeriosillari