Hello, does anyone know my problem in the Changebox codes?

I copied these codes, but it does not filter the correct database on the repeater.


Code:

//===================================================================

import wixData from ‘wix-data’;

export function Anopesq_change(event) {
filtro($w(‘#Anopesq’).value)
}

function filtro(pesquisa) {

$w('#dynamicDataset').setFilter(wixData.filter().eq('CarroNome', pesquisa)); 

}

You need to make sure that you filter using the Field Key and not the Field Name. The Field Key starts with a small letter:

You have this:

$w('#dynamicDataset').setFilter(wixData.filter().eq('CarroNome', pesquisa));

You [probably] want this:

$w('#dynamicDataset').setFilter(wixData.filter().eq('carroNome', pesquisa));

Worked! Thank you very much for your time !! :open_mouth: