Collapse / Expand Repeater based on the value of a text user input

Well, I just want to load as collapsed, for speed / loading issues and load only the search results, that’s why I want to accomplish that.

I removed the code line of this


if($w("#input1").value === "title" ||$w("#input1").value === "title" ){

$w("#repeater1").expand()

} else {

$w("#repeater1").collapse()

}

and the search bar works fine :no_mouth: so its not the search bar at least.