html-duration-picker.js icon indicating copy to clipboard operation
html-duration-picker.js copied to clipboard

data-duration attribute does not work

Open olaulau opened this issue 1 year ago • 2 comments

data-duration attribute doesn't work, whereas value attribute works

tested on firefox & chromium, same behavior

https://codepen.io/olaulau/pen/XWLjxZr

even the src/index.html does not work as expected .

olaulau avatar Jul 25 '24 16:07 olaulau

Perhaps there is no need for the data-duration attribute since the value attribute works?

trymeouteh avatar Feb 19 '25 02:02 trymeouteh

Yes, I've also observed this behavior with the data-duration attribute. I've submitted a pull request with a fix.

dKally avatar Apr 07 '25 22:04 dKally