Skip to content

Commit

Permalink
Update packages/web-components/fast-foundation/src/picker/picker.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John Kreitlow <863023+radium-v@users.noreply.github.com>
  • Loading branch information
janechu and radium-v authored Jun 14, 2024
1 parent db00233 commit d811247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web-components/fast-foundation/src/picker/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ export class FASTPicker extends FormAssociatedPicker {
*/
@observable
public filterSelected: boolean = false;
protected filterSelectedChanged(): void {
protected filterSelectedChanged(prev: boolean | undefined, next: boolean): void {
// keep the main prop in sync
if (this.disableSelectionFilter === this.filterSelected) {
this.disableSelectionFilter = !this.filterSelected;
if (this.disableSelectionFilter === next) {
this.disableSelectionFilter = !next;
}
}

Expand Down

0 comments on commit d811247

Please sign in to comment.