Ends in:
7 DAYS
13 HRS
31 MIN
25 SEC
Ends in:
7 D
13 H
31 M
25 S
Open Closed

using SweetAlert for Message with HTML #1521


User avatar
0
viswajwalith created

Hi,

We would like to show the error message with html content.

It is clear that abp.io is using Sweet alert, but it is bit confusing. In one page it says SweetArt (https://docs.abp.io/en/abp/latest/UI/AspNetCore/Overall) and in some other page it says SweetAlert2. (https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Message#sweetalert-configuration).

Actually as per the SweetALert2 documentation HTML in Alert message is supported (https://sweetalert2.github.io/#examples) , if abp.io is using sweetAlert2 we should be having the same support with abp.message.error but its not. can you please guide us.


5 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @viswajwalith,

    ABP Framework uses SweetAlert, not SweetAlert2. Sorry for confusion.

    I updated the documentation https://github.com/abpframework/abp/pull/9414/files

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Also,

    We'll consider to SweetAlert2 https://github.com/abpframework/abp/issues/9413

  • User Avatar
    0
    viswajwalith created

    Also,

    We'll consider to SweetAlert2 https://github.com/abpframework/abp/issues/9413

    Yes really confusing which leads to loss of one support ticket, can we get it back?

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    I've refunded a credit.

  • User Avatar
    0
    viswajwalith created

    @yekalkan thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06