Topic: Color Picker: Set format with prop

luc122c priority asked 1 year ago


Please provide the ability to set the format (hex, rgba, hsla etc) of the colour picker via a prop. Please see this support question for further information.


Mikołaj Smoleński staff commented 1 year ago

Hi, thank you for your feature request. We'll discuss it in our team.

Keep coding!


luc122c priority commented 1 year ago

Hi, has anything come of this?


Bartosz Cylwik staff commented 1 year ago

Hello. We have added the colorFormat prop where you can change the default color format (hex | rgb | rgba | hsl | hsla). You can use it like this:

  <MDBColorPicker
    advanced
    v-model="advancedColorPickerValue"
    colorFormat="hex"
  />

Best Regards!


luc122c priority commented 1 year ago

Great, thank you! I must have missed this in the changelog.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: Yes