Announcement

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

    MouseOutHandler for FormItems?

    Hi,

    We have a custom editor which extends a basic TextItem.
    When hovering over the item, we want an icon to become visible.
    When the user "hovers out" of the field (eg. MouseOutEvent) we want to hide the icon again.

    Using the addItemHoverHandler, "drawing" the icon on hover works, but there is no equivalent for the hover out and thus my icon remains visible.

    Could you tell me why there is no MouseOutHandler on FormItem (or HoverOutHandler)?
    Could I/should I add a MouseOutHandler to my custom editor (and would that do what I want)?

    Regards,
    Bart

    #2
    Currently there are no mouseOver/mouseOut events at the FormItem level (only for the DynamicForm as a whole).

    You could implement form-level event handlers that determine which FormItem the mouse is over, and show/hide icons when you determine that the mouse has moved into/out of a FormItem.

    Comment

    Working...
    X