Announcements
Hi
Is there any way I can use the Color Enum of Canvas App as a input property to my control? I saw the Enum type but it seems like I need to define all the values for Enum first which obviously is not a simple job in this case. Is there any solution for this?
Thanks
-Srikanth
Hello @ansrikanth ,
Unfortunately Canvas Color enums are not supported in PowerApps components. Those are only supported in legacy Canvas controls.
That is correct. For now, you could do something like the following:
And use a regular expression such as
/^#([0-9a-f]{3}){1,2}$/i
to validate that the input is valid before continuing.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 413
WarrenBelz 355 Most Valuable Professional
timl 315 Super User 2026 Season 1