Topic: Color Picker: Disable alpha input
luc122c priority asked 1 year ago
Hi, the disableAlpha
prop on the colour picker only seems disable the alpha slider to the right of the canvas. It does not seem to disable the alpha input box or remove alpha from the output value.
Expected behavior
Alpha functionality is disabled, giving RGB / HSL etc values.
"hsl(228,0.88,0.52)"
Actual behavior
Only the slider is disabled, which still allows alpha input/output.
"rgba(116,64,64,1)"
"rgba(76,44,44,0.5)"
Bartosz Cylwik staff answered 1 year ago
Hi, thanks for letting us know. We are going to work on that. For now you can search for that input via querySelector
and set it as disabled
if you want to. Best Regards!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 3.1.1
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: Yes
- Provided link: No