106
Views
10
Comments
[ColorPicker] P10 Colorpicker Widget not showing up anymore
Question
colorpicker
Web icon
Forge asset by Pedro Cardoso

It seems like with the upgrade of P10 the colorpicker widget is no longer working, the control does not show up on the page anymore, I've tested it with a brand new app and having it be the only thing on the page.

2022-06-17 09-22-26
Huarlem Lima

Hello, I use ColorPick in P10 normally, can you post your OML to take a look?

2024-01-22 15-21-29
Pedro Cardoso

In fact, that demo is in my personal and it seems to be working pretty well...

UserImage.jpg
Cody Ahlquist

That's interesting guys, thanks for the replies, hopefully it is just something I'm doing wrong. Here is my oml, which is about as simple as it gets. Let me know if I'm missing something simple haha.


Thanks again!

TextColorPicker.oml
UserImage.jpg
Cody Ahlquist

Omg, I figured it out, if you put the webblock before the input like this:

Then the color selector never shows up and you see the input, but if you put it after the input like this:

Then it works!

2024-01-22 15-21-29
Pedro Cardoso

Damn what a noob bug! Let me fix that

2024-01-22 15-21-29
Pedro Cardoso

Ok, it's fixed but we seem to have a problem with Forge that is now allowing me to upload the new version. I'll update you ASAP.

UserImage.jpg
Cody Ahlquist

Woot! Thanks man!


Pedro Cardoso wrote:

Ok, it's fixed but we seem to have a problem with Forge that is now allowing me to upload the new version. I'll update you ASAP.



UserImage.jpg
Ignasius Wijaya

Pedro Cardoso wrote:

Ok, it's fixed but we seem to have a problem with Forge that is now allowing me to upload the new version. I'll update you ASAP.

Hi, Pedro.

Have you uploaded the new version to Forge? I had the same exact issue with Cody and I managed to solve it by using the same exact solution, again, found by Cody.

The problems are: first, where can I get the result of the color that I just picked? Second, it seems that I cannot use the options described in Spectrum GitHub webpage. Particularly this option right here https://bgrins.github.io/spectrum/#options-clickoutFiresChange

Every single time I added that option, the color picker widget dissappeared.


Extra info, I'm using this widget on top of my personal enviroment. I also included my .oml file here.

colourpick.oml
UserImage.jpg
Ignasius Wijaya

Ignasius Wijaya wrote:

Pedro Cardoso wrote:

Ok, it's fixed but we seem to have a problem with Forge that is now allowing me to upload the new version. I'll update you ASAP.

Hi, Pedro.

Have you uploaded the new version to Forge? I had the same exact issue with Cody and I managed to solve it by using the same exact solution, again, found by Cody.

The problems are: first, where can I get the result of the color that I just picked? Second, it seems that I cannot use the options described in Spectrum GitHub webpage. Particularly this option right here https://bgrins.github.io/spectrum/#options-clickoutFiresChange

Every single time I added that option, the color picker widget dissappeared.


Extra info, I'm using this widget on top of my personal enviroment. I also included my .oml file here.

Edit: My bad, I forgot to add ajax refresh to the label and also forgot to set the action destination when text input's content changed. It worked just fine after that.


2024-01-22 15-21-29
Pedro Cardoso

Hello guys,


sorry for the (very) late reply. The new version is published!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.