Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

how to set tooltip for each value of dropdown list

Avatar

Level 2

Hi All,

My requirement is, when when click on drop-down list, and scrolling the list, need to display some additional information for each value which is selected by mosue.

Please help on same,

Thanks,

Abhijit Mohite

1 Reply

Avatar

Level 6

To set the tooltip for each value selected from Drop Down list - means value is selected in drop down list and the mouse over on the field (i thought this way, if its not correct ignore the same.

For the above case check the selected drop down value on change event and set the desired text as tooltip.

For example

if(xfa.event.newText == "One")

this.assist.toolTip.value = "You Selected Choice " +xfa.event.newText;

Thanks,

Raghu.