Skip to content

Commit

Permalink
fix: bug preventing radio special filters from working
Browse files Browse the repository at this point in the history
Ref #555
  • Loading branch information
stdavis committed Feb 9, 2024
1 parent a748161 commit dc2c6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search-wizard/SpecialFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function SpecialFilter({ config, value, onChange }) {
}))}
value={value?.values[0]}
onValueChange={(newValue) =>
onChange({ ...value, values: [newValue] })
onChange({ ...value, values: [newValue], type: config.type })
}
/>
);
Expand Down

0 comments on commit dc2c6b0

Please sign in to comment.