Hi there. This code works using any other valid FilterBuilder type attribute, but line mode throws an error when I click the "Add filter" button and then change the field drop down from Name to Age (or any field other than the first, if available). Thanks for any suggestions. It seems to be a new issue in version 2.5.0. The example works under 2.4.2.
Layout.svelte:383 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
at Layout.svelte:383:10
<script>
import { FilterBuilder, Willow } from "@svar-ui/svelte-filter";
const fields = [
{ id: "first_name", label: "Name", type: "text" },
{ id: "age", label: "Age", type: "number" },
];
const options = {
first_name: ["Alex", "Marta", "Claire", "David"],
age: [21, 25, 28, 35, 42, 51, 53],
};
</script>
<Willow>
<div style="padding: 0 20px;">
<FilterBuilder {fields} {options} type="line" />
</div>
</Willow>