Open pnikkosis opened 4 years ago
your jsfiddle example has syntax errors and does not work and you are using a wrong extension name. https://itsjavi.com/bootstrap-colorpicker/tutorial-p04_Colorpicker_Extensions.html
but I've found out that swatches don't work without inline: true
mode: bootstrap.js:1867 Uncaught TypeError: data[option] is not a function
Description
color picker doesnt load, error on console is: TypeError: ExtensionClass is not a constructor at Colorpicker.registerExtension (Colorpicker.js:238) at Colorpicker.js:224
Context
Expected behavior
load color picker with swatches
Actual behavior
doesnt load and show error
Live Example
http://jsfiddle.net/Lb57n394/