Category : vue.js

All code you can find here: https://stackblitz.com/edit/angular-expample?file=src%2Fapp%2Fapp.component.html I have a problem formatting the array I’m loop through. Main logic function is this: this.allFilters.push( Array.isArray(val.value) ? { name: val.name, value: val.value.map((obj: any) => obj.value).join(" – "), displayName: val.displayName, displayValue: val.value.map((obj: any) => obj.value).join(" – ") } : { name: val.name, value: val.value, displayName: val.displayName, displayValue: val.displayValue ..

Read more