I'm trying to implement ColorPicker to my map to allow users to choose colors for Sketch objects.
I've included both 4.12 and 3.29 APIs in my code as well as required "esri/dijit/ColorPicker", then the website just turned into a blank white page. Obviously it doesn't work this way.
So, is there any other way to implement ColorPicker in a API v4.12 project?
Thank you for your reply, but I still get blank page after I include the Spectrum CDN.
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.css">
Is there any further requirement to implement Spectrum ColorPicker to ArcGIS API map?
The map shows after I put Spectrum CDN above the ESRI API script. But the ColorPicker is still a default text input box, and it's placed outside the map.
I'm so stuck on this. I've tried only the ColorPicker code on CodePen and it works perfectly, but not when I tried to place it on my map. What should I do to get the ColorPicker to work with the ArcGIS API?
The 4.x JS API will not add a ColorPicker widget. Instead, it will be implemented as a Calcite component, which will be used in Esri apps. This is currently being worked on. You can see the issue for tracking this work here: https://github.com/Esri/calcite-components/issues/64
We'll update the Functionality Matrix accordingly.