This topic contains 5 replies, has 2 voices, and was last updated by jqwidgetsdev 1 year ago.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Vue › jqxForm add additional field icons
Tagged: jqxForm additional field icons
This topic contains 5 replies, has 2 voices, and was last updated by jqwidgetsdev 1 year ago.
Hi,
JqxForm has the following template options
info – Sets the field information icon’s tooltip.
infoPosition – Sets the information icon’s position.
However, I want to add additional icon’s + tooltip next to the information icon.
How can this be accomplished?
Thank you.
Hi,
This is not supported by default, you can achieve this with a custom type component and the init callback.
Best regards,
Svetoslav Borislavov
jQWidgets Team
https://www.jqwidgets.com/
Hi Svetoslav,
Thanks, I will give it a shot and revert back if I run into any problems.
Best regards.
Hi Svetoslav,
Not quite following how this will work. Is there an example for this?
Additional question, is there a hover event I can use to show/hide additional icons?
Thanks in advance.
Hi,
Please see this demo: https://codesandbox.io/embed/musing-andras-egpzhn?fontsize=14&hidenavigation=1&theme=dark
You must have a template object with a type set to custom and an init function. In the init function you receive the element of the custom line which you can modify. We created a custom line element in the template and hide it initially. After appending it to the custom line we are showing it again.
I hope this helps!
Best regards,
Svetoslav Borislavov
jQWidgets Team
https://www.jqwidgets.com/
Hi Svetoslav,
Ok yes, now I understand the technique. Thank you.
Best regards.
You must be logged in to reply to this topic.