MoishyS

Results 9 comments of MoishyS

we can base it on `mat-select openedChange` instead of bankServerSideFilteringCtrl.value, so we can leave the `filter((search) => !!search)`

- we should add an example for multi-select - currently each bank will have the same object reference, on a real server-side filtering it will be a new object, and...

@Knoxvillekm @macjohnny Another issue when using multi-select, when you deselect the last one from filtered results, it will deselect all, included previous selected values [stackblitz](https://stackblitz.com/edit/github-vjdh8n-zw4tid?file=src%2Fapp%2Fexamples%2F05-server-side-search-example%2Fserver-side-search-example.component.tsl) ![yeqIVVnXAd-output](https://user-images.githubusercontent.com/46120703/136295633-d58001f2-de66-41f1-bef4-fb7e9ca921ca.gif) adding the invisible option...

we can solve the issue partially, by only showing options that are not in the filtered results [stackblitz](https://stackblitz.com/edit/github-vjdh8n-dinzm3?file=src%2Fapp%2Fexamples%2F05-server-side-search-example%2Fserver-side-search-example.component.ts) ``` this.hiddenOptions = this.filteredServerSideBanks.pipe( map( (values) => this.bankServerSideCtrl.value?.filter( (a) => !values.find((b) =>...

ok, was able to solve it, by only showing the options if search ctrl is empty [stackblitz](https://stackblitz.com/edit/github-a4bxcs?file=src%2Fapp%2Fexamples%2F05-server-side-search-example%2Fserver-side-search-example.component.ts) ``` {{ bank.name }} ``` also need to remove `filter((search) => !!search)` as...

for vscode add below to settings.json ``` "files.associations": { "appsettings*.json": "jsonc" }

I am surprised that it's still not in plan, Laravel has had it for like 10 years already. https://laravel.com/docs/master/eloquent-relationships#one-to-many-polymorphic-relations ``` posts id - integer title - string body - text...

duplicate of https://github.com/dotnet/efcore/issues/7623?