Similar to the date picker component, it would be great to have a color input component like the type=“color” input tag in html as a built in component to Anvil
Specific colors are a common item I need to collect on forms I create, and being able to have a user submit a hexcode or pick from the color wheel to translate into a hexcode makes the process very simple.
I was able to create a workaround using a custom component and custom HTML, but it is clunky and much harder to implement/use then the built in components. A built in color picker component would greatly speed up building forms that need it and simplify the code needed as well.
It would be great to share your custom component. There might be some enhancements we can suggest. Others may also find it useful while this feature doesn’t exist.
As you already know, I barely know anything about HTML and javascript. I needed a color picker so I just build one using whatever I can find on google. It basically has only some 5 lines of code and no property and event or anything(I couldn’t figure out how to add one).
However, I just wanted it for one basic purpose which was to set background and foreground and it did that job. But if someone wants to build a proper component from it, they are most welcome