html-duration-picker.js
html-duration-picker.js copied to clipboard
data-duration attribute does not work
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 .
Perhaps there is no need for the data-duration attribute since the value attribute works?
Yes, I've also observed this behavior with the data-duration attribute. I've submitted a pull request with a fix.