Topic: MDB 5 Color Picker preloading

ltadmin priority asked 2 weeks 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 });

enter image description here


ltadmin priority commented 2 weeks ago

View Snippet here: https://mdbootstrap.com/snippets/standard/ltadmin/4576136#js-tab-view


kpienkowska staff answered 2 weeks ago


Thank you for letting us know about this bug. We will fix it shortly.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: 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