Simple .expand onClick not working.

Hi there :wave:t2: The big issue I see is that your collapse code is not within the onReady for the page. Your code should look like this:

$w.onReady(function () {
    // This code should be up here
    $w("#repeater1").collapse();
    console.log('Repeater is collapsed?: ', $w("#repeater1").collapsed)
});

export function deviceType_click(event) {
    $w("#repeater1").expand();
    console.log('Repeater is collapsed?: ', $w("#repeater1").collapsed);
}

I would also verify that your click event is registered correctly in the properties panel. Sometimes I accidentally delete or rename things.

If this doesn’t work, you might also try using onChange instead of onClick for the dropdown selector.

Good luck!