I would like to know if I can hook on event on opening tooltip on fields, or clicking on i
icon on field right.
What I would like to do is, if user has special permissions, open new pop up form if user click on this icon.
Marko
I would like to know if I can hook on event on opening tooltip on fields, or clicking on i
icon on field right.
What I would like to do is, if user has special permissions, open new pop up form if user click on this icon.
Marko
Copyright © 2021 Jogjafile Inc.
As far as I know, there is no event reflected to the Scout Model (java code) when the user clicks on the tooltip.
What you can do:
1/ Set a diffent Tooltip information for a given user.
2/ Add a menu on the field (that is only visible/enabeled for certain users). This is the way we add additional actions at field level.
3/ (currently only for
StringField
) If you only have one action you could set the propertyhasAction
totrue
instead of using a menu. This will bring up a clickable arrow inside the field, just implementexecAction
. The idea behind this arrow button is to follow a link or open the email client, but you can use it for any other action as well.