Open Closed

Error MessageBox Override #5906


User avatar
0
Fabio.Zinesi created
  • ABP Framework version: v7.3.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

How can I override the error message box?

I need to show the error inside a <div> instead of the modal message.

How can I do it?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    Error messages created with ConfirmService. if you want to override. you should replace the service with Angular Dependency Injection system.

    https://docs.abp.io/en/abp/7.3/UI/Angular/Confirmation-Service

    the code: https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/theme-shared/src/lib/services/confirmation.service.ts

    Or if you want to change how to handle error , you can https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/theme-shared/src/lib/services/router-error-handler.service.ts

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.