mgwalk priority asked 1 week ago


the last one Disable sectionhttps://mdbootstrap.com/docs/standard/plugins/color-picker/#docsTabsOverview

sample code does not show all the options for the above samplecolorPickerType ? how do I change between all the types like your example?copy how do I add this?

shows correct here but no code to show the switcher and copyhttps://mdbootstrap.com/snippets/standard/mgwalk/6272191#js-tab-view

https://usercontent.mdbootstrap.com/mdb-images/support/ea18dd37-0a90-42d6-9e63-b0dab3baa0fb-Capture.jpg screenshot


Grzegorz Bujański staff answered 1 week ago


All options and their description can be found in the API tab: https://mdbootstrap.com/docs/standard/plugins/color-picker/#docsTabsAPI

data-mdb-color-picker-type accepts only one type. You can't pass multiple options there.

setting the data-mdb-color-picker-value="rgb(0, 0, 0,1)" option works correctly - https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/6272986 It also doesn't block sliders. If you have a problem with this option, prepare a snippet in which you will be able to reproduce this issue. We'll check it out.

The documentation in the Overview tab shows basic examples of how to use the options. More details can be found in the API tab, which contains information about the values ​​of these options and their descriptions.


mgwalk priority answered 1 week ago


documentation is horrible

colorPickerValue maybe take another 2 minutes and give us data-mdb-color-picker-value

Set default color value <-- Ok maybe take another minute to share examples for all types?

wtf is it? for rgba data-mdb-color-picker-value="0,0,0"

went somewhere online FREE tool and got it data-mdb-color-picker-value="rgb(0, 0, 0,1)"

but when I provide this it locks the top slider WHY, I may just go back to jQuery UI


mgwalk priority answered 1 week ago


hex is working now

<div class="color-picker" 
                        data-mdb-color-picker-init 
                        data-mdb-color-picker-color-palette="false"
                        data-mdb-color-picker-copy-icon="true"
                        data-mdb-color-picker-type="hex"
                        >
                    </div>

mgwalk priority answered 1 week ago


i tried

<div class="color-picker" 
                        data-mdb-color-picker-init 
                        data-mdb-color-picker-color-palette="false"
                        data-mdb-color-picker-type="hex,rgba"
                        data-mdb-color-picker-copy-icon="true"
                        >
                    </div>


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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 8.0.0
  • Device: pc
  • Browser: firefox
  • OS: 11
  • Provided sample code: No
  • Provided link: Yes