web-padawan / vanilla-colorful

A tiny color picker custom element for modern web apps (2.7 KB) 🎨
https://web-padawan.github.io/vanilla-colorful/
MIT License
784 stars 29 forks source link

Can't clear the hex-input #68

Closed tobyzerner closed 2 years ago

tobyzerner commented 2 years ago

If you backspace the hex-input value and then move focus from the input, it resets back to the last known valid value. It'd be great to be able to leave the field blank though, because in my case the field is optional.