Open Closed

Type Head m_m PRoplem #3890


User avatar
0
alaa created

I have Proplem in this component abp-lookup-typeahead-mtm, I have thousands of values in tow tables with namy to many relationship, so if i open the many to many tab I see no one of mydata because the data not comes in the first of 1000 records, after that if I save the record I loss some of my important data that related by many to many relation, so if there is any update or configuration to configure this situation please advice me

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.2.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

2 Answer(s)
  • User Avatar
    0
    alaa created

    it is resetting the data in the table below, when the data comes from the backend and doesn't contain data that exist in the table below it makes the table empty. how can we change this behavior, and how can we access the source code of this component?

  • User Avatar
    0
    muhammedaltug created

    Hello,

    We fixed the problem, the fix will be available in the next 5.3 version and the next 6.0 version.

    You can avoid this problem by the following workaround

    import { Component } from '@angular/core';
    import { LookupTypeaheadMtmComponent } from '@volo/abp.commercial.ng.ui';
    
    @Component({
      selector: 'app-root',
      template: `
        <abp-loader-bar></abp-loader-bar>
        <abp-dynamic-layout></abp-dynamic-layout>
      `,
    })
    export class AppComponent {}
    
    LookupTypeaheadMtmComponent.prototype.ngOnInit = () => {};
    
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11