Hi,
ABP show a BusinessException detail in console. But I can not get a data object from modal.js. I used abp modal and I throw BusinessException, then I need to requestId in my modal.js file. I want to get error data which I marked in the picture on javascript file. Your previous answer was not sufficient for my question. Can you help about this? Thanks
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
ABP Framework version: v5.3.3
UI type: Blazor
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes / no
Exception message and stack trace:
Steps to reproduce the issue:"
4 Answer(s)
-
0
hi
What's content of your
modal.js
? -
0
-
0
hi
_yourModal.onOpen(function () { _yourModal.getForm().abpAjaxForm({ error: function (jqXhr) { var error = jqXhr.responseJSON.error; return false; } }); })
-
0
hi
_yourModal.onOpen(function () { _yourModal.getForm().abpAjaxForm({ error: function (jqXhr) { var error = jqXhr.responseJSON.error; return false; } }); })
thank you :)