Skip to content

Commit

Permalink
Fix issue preventing typing in table select inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed May 30, 2024
1 parent 7aef6af commit 4e7c4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/TableSelect/tableSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const TableSelect = withDefaults<TableSelectProps>()(defaultProps, (props
function handleFilterChange(e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, index: number) {
setFilters((prev) => {
const newFilters = [...prev];
prev[index] = e.target.value;
newFilters[index] = e.target.value;
return newFilters;
});
if (ref.current) {
Expand Down

0 comments on commit 4e7c4fd

Please sign in to comment.