Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Color Picker: Set format with prop

luc122c priority asked 2 years 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 2 years 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