Topic: MDB 5 Color Picker preloading
ltadmin priority asked 2 years ago
Expected behavior When initializing the color picker with a specific color, the Canvas, Color Dot, Hue Slider and Alpha slider are set to the color loaded on the creation of the color picker.
Actual behavior Canvas is set as default and loads on a Red hue no matter what was picked hue range is 0 (Min) alpha range is 1 (Max)
Resources (screenshots, code snippets etc.)
var picker = document.getElementById('ColorInput');
var pickerInstance = new ColorPicker(picker, { colorPickerValue: '#6610f2', colorPickerType:"hex", colorPickerColorPalette:true, colorPickerCopyIcon:true });
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 5.0.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
ltadmin priority commented 2 years ago
View Snippet here: https://mdbootstrap.com/snippets/standard/ltadmin/4576136#js-tab-view