Dropdown greyed out after setFilter

Hello,
i got 2 dropdown boxes, the content of the 2nd depends on what is selected on the 1st one.
i also created a database with 2 columns, which contain each possibility.

When i select something in the first dropdown ( = ‘dropdown1’ ).
I want to use this value to filter the database which is connected to dropdown2.

$w(“#Database”).setFilter(wixData.filter().contains(‘klassen’, $w(‘#dropdown1’).value))

but with, console.log($w(“#KlassenReeksen”).getTotalCount()); , i can see a change in results.

Solved:
After debugging my code i found the issue wasn’t there.
Mixed up the dataset where to submit and the dataset to list … -_-’