yesnofilter null when not provided

This commit is contained in:
Kendall Garner
2025-06-29 22:34:39 -07:00
parent 286441c1b1
commit cd18e683bf
@@ -26,7 +26,7 @@ export const YesNoSelect = ({ onChange, value, ...props }: YesNoSelectProps) =>
onChange={(e) => {
onChange(e ? e === 'true' : undefined);
}}
value={value !== undefined ? value.toString() : undefined}
value={value !== undefined ? value.toString() : null}
{...props}
/>
);