I am getting a parsing error unexpected token with this line: $w( ‘#dataset1’ ).setFieldValue(searchBar: result);
On this line I am getting cannot use await outside of async function:
await wixData.query( ‘collection’ ).find().then((result) => {
I am getting a parsing error unexpected token with this line: $w( ‘#dataset1’ ).setFieldValue(searchBar: result);
On this line I am getting cannot use await outside of async function:
await wixData.query( ‘collection’ ).find().then((result) => {