Creating a clear button broke my dropdown filter

Hi everyone,
I’m very new to coding and has mainly been using online tutorials to help me.

On one of my page, I have a product catalogue/directory that’s connected to a database with a dropdown filter and a search bar and a ‘Clear’ button.
The dropdown filter is made using Wix’s build-in function, and the search bar is made with codes.

This is code below.

import wixData from 'wix-data';
$w.onReady (function () {
$w("#image1").fitMode = "fit";

export function input1_keyPress(event, $w) {
let SearchValue = $w("#input1").value;
$w("#dataset1").setFilter(wixData.filter().contains('title', SearchValue))

export function button24_click(event, $w) {
    $w("#input1").value = "";
    $w("#dataset1").setFilter(wixData.filter().contains('specialty', ''));

Whenever I hit the ‘clear’ button (button24) it also clears my drop down filter, and renders it unusable. How do I fix this?
Much thanks!

function reset_Filter () {