cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nandrews
Frequent Visitor

Cannot see Emojis / color in Entity Form because of automatic formatting

Emojis / color are displayed and easily readable in grids and other locations: 

 

nandrews_0-1642548783907.png

 

Yet, they are automatically formatted in Entity Form fields when not selected or hovered over (On PC using Microsoft Edge):

nandrews_1-1642548819197.png

This is an inconvenience in some circumstances. There does not seem to be formatting options for this.

Are we missing something? Would anyone know a way around this?

5 REPLIES 5
DianaBirkelbach
Super User
Super User

Hi @nandrews , 

 

I don't know another out-of-the-box solution, but I have 2 PCFs on pcf.gallery, showing the colors set in customizing for each option:

- ColorfulOptionset (for the form): https://pcf.gallery/colorful-optionset/

- ColorfulOptionset Grid: https://github.com/brasov2de/ColorfulOptionsetGrid

 

Hope this helps!

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Thank you for the help and the PCF recommendations! They will help and be useful in other ways, for sure.
Unfortunately, in this case, an optionset is not quite a viable option for the particular requirements on this field.

cchannon
Super User
Super User

Are you using Fluent UI for this? Fluent's style class names overlap with power platform in a painfully large number of places, and when that happens, the model driven app wins. Try also manually setting the style attributes inline where you create the object. That should come in after any page inherritance and carry through the style you're looking for.

No, I do not believe the entity Main Forms utilize Fluent UI.
If there is a way to change the style/format settings of how entity forms are displayed, that may help.

cchannon
Super User
Super User

Ohh, so you actually put an emoji in the name text here, as opposed to some kind of custom control?

 

Yeah, within a text box you can't count on emoji coloring carrying through consistently (although it probably should), but I know that if you create your own html elements in a pcf emojis will consistently display correctly.

 

Other than a custom ui approach, though, I don't know of any way to assure emojis will display as intended.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,139)