No announcement yet.
  • Filter
  • Time
Clear All
new posts

    Issue with forms, hover and focus


    I would like a form to not display hover and focus when in read-only mode.

    However, when i set the form to canEdit(false), the items in the form still take focus and hover.

    I have tried setting canFocus(false) and showHover(false) on the form, as well as showOver/showFocus to false on individual formItems, but it still shows bothhover and focus like so:
    Click image for larger version

Name:	Screen Shot 2021-03-04 at 13.55.18.png
Views:	68
Size:	7.5 KB
ID:	264841
    (i.e. - The 'textItemLiteOver' etc. styles are still appled)

    have i misunderstood how those two methods (canfocus/showhover) are supposed to work? Is there a way for the form to not show over/focus when in read only mode?

    Take a look at the docs for form/item.readOnlyDisplay, if you want non-interactive items (static), as opposed to non-editable items (readOnly).