
Announcements
i am trying to add a hover over on a field in power app. this is to give guidance to people on what that field meant. any suggestion on how to do this?
@ManKa -
You can leverage the Tooltip property for most controls, but I personally find these useless as the text is too small to be legible and apps should be as accessible as possible.
As an alternative:
1. Insert an Icon control next to the field in question. For example an Information icon.
2. On the OnSelect property of the information Icon, enter:
UpdateContext({ctx_info_pop_up: !ctx_info_pop_up});
UpdateContext({ctx_info_text: "Here is some information about this field."})
3. Create a Container control
4. Insert a Label control or a HTML text control inside the Container
5. On Text or HTML property, enter:
ctx_info_text
6. On the Visible property of the container, enter:
ctx_info_pop_up
7. Duplicate the Information Icon. On the OnSelect property, enter different text. E.g.:
UpdateContext({ctx_info_pop_up: !ctx_info_pop_up});
UpdateContext({ctx_info_text: "Different information about this field."})
Note however that if you apply the above Solution to a DataCard in an EditForm, the Icons will not be clickable if the Form is in View Mode.