Skip to content

[ANGULAR] Combo label change error when multiSelect=true #11100

@taauntik

Description

@taauntik

Forum post

Hello,
when combo multiSelect is set to true and trying to change label of this combo then I have an error:

"stack": "TypeError: Cannot destructure property 'lastDomConfig' of 'targetElement' as it is null.    
at _DomSync.performSync (http://localhost:4205/vendor.js:137793:9)    
at _DomSync.sync (http://localhost:4205/vendor.js:137767:34)    
at get innerElements (http://localhost:4205/vendor.js:169763:15)    
at Combo.compose (http://localhost:4205/vendor.js:166763:9)    
at Combo.doCompose (http://localhost:4205/vendor.js:142235:32)    
at http://localhost:4205/vendor.js:142475:25    
at Generator.next (<anonymous>)    
at asyncGeneratorStep (http://localhost:4205/vendor.js:482947:24)    
at _next (http://localhost:4205/vendor.js:482966:9)    
at http://localhost:4205/vendor.js:482971:7",
  "message": "Cannot destructure property 'lastDomConfig' of 'targetElement' as it is null."

Angular html:

    <bryntum-combo [label]="comboLabel"
      [multiSelect]="true">
    </bryntum-combo>
    <bryntum-button text="GO"
      (onClick)="changeLabel()"></bryntum-button>

Typescript:

  i = 0;
  comboLabel: string;
  changeLabel() {
    this.comboLabel = "abc" + this.i++;
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    OEMOEM customerangularAngular framework integrationbugSomething isn't workingforumIssues from forum

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions