Color Picker: Set format with prop


Topic: Color Picker: Set format with prop

luc122c pro premium 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 pro premium priority commented a year ago

Hi, has anything come of this?


Bartosz Cylwik staff commented a 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 pro premium priority commented a 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

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: -
  • Device:
  • Browser:
  • OS:
  • Provided sample code: No
  • Provided link: Yes