Project

General

Profile

« Previous | Next » 

Revision 60949

[Library | Trunk]: Add equals object function and change input chip label condition with it

View differences:

input.component.ts
343 343
  }
344 344
  
345 345
  getLabel(value: any) {
346
    let option = this.options.find(option => option.value === value);
346
    let option = this.options.find(option => HelperFunctions.equals(option.value, value));
347 347
    return (option) ? option.label : value;
348 348
  }
349 349
  

Also available in: Unified diff