pnp / powerapps-designtoolkit

This toolkit is a curated repo of Power Apps UI Guidance and Components that you can plug and play into your apps to transform your design.
MIT License
169 stars 46 forks source link

textColorHex missing in OnStart #14

Closed phil0074 closed 1 year ago

phil0074 commented 1 year ago

After inserting cmp_MD_Navigation_Drawer component into Power App, there was a reference error. Found out that textColorHex not defined in second code block (i.e Set(defaults, Patch(defaults, {...}.

Added the following line and error is resolved: textColorHex: Match(JSON(defaults.textColor,IgnoreUnsupportedTypes),"#[a-fA-F0-9]{6}").FullMatch

image

geoffroff commented 1 year ago

Fixed in 1.0.0.7 I believe

PowerRobin commented 1 year ago

added textColorHex in Template v1.1