-- Function to handle when the search text changes

local function onSearchTextChanged()
	local searchText = searchBox.Text

	-- Check if the search text has actually changed
	if searchText ~= previousSearchText then
		previousSearchText = searchText
		updateSearchResults(searchText)
	end
end
