Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Mar 29, 2024
1 parent 5afe84e commit 7049296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/cascadeselect/cascadeselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,8 @@ export class CascadeSelect implements OnInit, AfterContentInit {

ngOnChanges(changes: SimpleChanges): void {
if (changes.options) {
this.processedOptions = this.createProcessedOptions(this.options || []);
this.modelValue.set('');
this.processedOptions = this.createProcessedOptions(changes.options.currentValue || []);
this.updateModel(null)
}
}

Expand Down

0 comments on commit 7049296

Please sign in to comment.