You need to sign in to do that
Don't have an account?
ssgmail
ui:message component is not capturing "click" event
I am noticing that "click" event is not captured in the ui:message component.
My component:
<aura:component access="global">
<ui:outputText value="simple text" click="{!c.onClick}"/>
<ui:message title="Confirmation" severity="confirm" closable="true" click="{!c.onClick}">
This is a confirmation message.
</ui:message>
</aura:component>
My JS Controller:
({
onClick: function(cmp) {
alert("Clicked");
}
})
Note that when I click on ui:outputText I do get the alert popup. But clicking on the ui:message does not give me the alert.
According the lightning developer document, the ui:message is supposed to support click event.
Thank you for the help!
My component:
<aura:component access="global">
<ui:outputText value="simple text" click="{!c.onClick}"/>
<ui:message title="Confirmation" severity="confirm" closable="true" click="{!c.onClick}">
This is a confirmation message.
</ui:message>
</aura:component>
My JS Controller:
({
onClick: function(cmp) {
alert("Clicked");
}
})
Note that when I click on ui:outputText I do get the alert popup. But clicking on the ui:message does not give me the alert.
According the lightning developer document, the ui:message is supposed to support click event.
Thank you for the help!
It does not handle any of the events liks click or double click.
I recommend u develop your custom component for showing the messages and create custom lightening event to handle click event.
Best Regards
Veenesh
SSgmail,
WOuld you mind share please if you have got ay help from the salesforce in regards to this issue.
Thanks
Sridhar