hi! hello i am new to wix and with programming and i am indonesian the language are soo much different so i hope you guys can help me
okay here i have a code
// For full API documentation, including code examples, visit Velo API Reference - Wix.com
import wixData from ‘wix-data’;
$w.onReady( function () {
//TODO: write your page related code here…
wixData.query(‘gameStore’)
.eq('title', $w('#dropdown1').value)
.find()
.then(res => {
let items = res.items[0];
let price = items.price;
$w("#text15").text = price;
})
});
i just wanna show price field from the queried item, the code looks nice but i don’t know why it just leave a blank text.
i am trying to be nice, and sorry, please help.
Regards, Ukaz