Ouvert Fermé

using SweetAlert for Message with HTML #1521


User avatar
0
viswajwalith créé

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 Réponse (s)
  • User Avatar
    0
    yekalkan créé
    Équipe d'assistance 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 créé
    Équipe d'assistance Fullstack Developer

    Also,

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

  • User Avatar
    0
    viswajwalith créé

    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 créé
    Équipe d'assistance Fullstack Developer

    I've refunded a credit.

  • User Avatar
    0
    viswajwalith créé

    @yekalkan thanks

Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11