How can I use a toggle or button to hide/show a multilist?

Eventually, I’ll figure out the formatting and I won’t have to keep deleting the replies. I have found a way to achieve the desired result using the details/summary HTML capability.

```dataviewjs
const relatedParts = dv.page("Configuration/RelatedParts.md").file.lists.text;
let options = relatedParts.map(item => `option(${JSON.stringify(item)}, ${JSON.stringify(item)})`).join(",");
let output = `
<details>
  <summary>Select Related Parts</summary>

~~~meta-bind
INPUT[multiSelect(${options}):related_parts]
~~~
  
</details>
`;
dv.paragraph(output);
```