Open Closed

Error occured when closing abp-modal (using Angular material) #161


User avatar
0
drpdev2 created

Hi guys,

I used Angular material to display checkbox list on abp-modal. Refer to https://stackblitz.com/angular/bepjoaebaxg?file=src/app/tree-checklist-example.ts

When I clicked Save button it was no problem. But when I Close abp-modal popup, it raised an error message. How to fix it? Could you check the error message as the following?


3 Answer(s)
  • User Avatar
    0
    Mehmet created

    Hi

    Can you run the following command in the angular root folder and share the result with us?

    yarn list --pattern abp
    

    It seems installed ABP packages are outdated.

  • User Avatar
    0
    drpdev2 created

    Hi, My solution is using abp version 2.6.2. The following is ABP packages. You means I should update abp suite?

  • User Avatar
    1
    Mehmet created

    Yes, you should update @volo/abp.ng.* packages.

    Open the package.json and replace the @volo/abp.ng.* packages with below:

    "@volo/abp.ng.account": "~2.7.1",
    "@volo/abp.ng.audit-logging": "~2.7.1",
    "@volo/abp.ng.identity": "~2.7.1",
    "@volo/abp.ng.identity-server": "~2.7.1",
    "@volo/abp.ng.language-management": "~2.7.1",
    "@volo/abp.ng.saas": "~2.7.1",
    "@volo/abp.ng.text-template-management": "~2.7.1",
    "@volo/abp.ng.theme.lepton": "~2.7.1",
    

    Then remove yarn.lock (or package-lock.json) and install packages.

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