baianat / verte

🎨 A Color picker component. Built from the bottom to work with Vue.js.
https://baianat.github.io/verte/
MIT License
181 stars 42 forks source link

null value is forced as #000 #29

Closed KonradDRAST closed 5 years ago

KonradDRAST commented 5 years ago

It was discussed before but thread was closed by bot. Maybe we can go back to that issue.

I'm using Verte in system where background color can be set but when provided as null it's treated as transparent. I'd like to use Verte here. On one hand adding "alpha" slider cause too much confusion within non technical users. On the other hand forcing "black" is not a perfect solution as well.

How about prop allow-null that will simply return null instead of #000 when no color is provided?

auscaster commented 5 years ago

This would be very useful for my use case also.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.