onReady expand or show element

Thank you Yisrael for your help as always.

However, I am not sure the wix-storage will do the job.

I am trying to retrieve an item from a collection on ready, when the page loads.

import wixData from ‘wix-data’;
$w.onReady( function () {
wixData.get(“Referrals”, “topic”)
.then( (res) => {
($w(‘#dropdown12’).value) = res.item;
})
. catch ( (err) => {
let errorMsg = err;
} );

So basically, the “topic” is stored in a collection by one user. then I want the dropdown12 value to be retrieved from topic when a different user is on the page. The code above did not work, can i get an item from a collection onReady?