AnsweredAssumed Answered

OnlinkClick action on app.alert.show() not working

Question asked by Felippe Junger on Jun 1, 2018
Latest reply on Jun 5, 2018 by Felippe Junger

Hello guys,

 

I'm trying to implements this feature on mobile, but its not working...
Follow the code:

 

app.alert.show('message-id', {
    level: 'info',
    messages: ["<a href=''>Click here!</a>"],
    autoClose: false,
    closeable:true,
    onLinkClick: function(){
        alert();
        //app.controller.navigate(`Meetings/${visita.id}/edit`)
    }
});

 

in mobile, some action trigger a function thats calls this alert, but the text of the alert shows like a plan text and not like a html a tag.

 

Using the developertools => console on web version of sugar this alert works

 

Could anyone help me?

Outcomes