Support for search bar code please!!!

Hello everyone,

I’ve been trying to add page to my website were people can lookup their certificates from my own wix database, however when adding the codes, I get a red notice saying strings.
I’m completly new to this coding and have 0 experience. Already tried to get someone on wix arena but haven’t had any luck with support. Here is a pic of the code.
If anyone can help me out please!
Thanks a lot

import wixData from ‘wix-data’;

//For full API documentation, including code examples visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: import wixData from ‘wix-data’;
});

export function searchButton_onClick(event) {
wixData.query(‘ClientDatabase’)
.contains(‘licencia’, $w(‘#textInput1’).value)
.find()
.then(res => {
$w(‘#resultsTable’).rows = res.items;
});
}

Hi,
Have you tried to refresh the table after assigning the rows information? Check out the example here .

Best,
Tal.

WIll try it, thanks Tal for your support