I’m new to Corvid, but have been successful in setting up a Selection Tags input into which I populate the options from a dataset on page load. Works great in the Sandbox, but I get no Tags in Live. I’ve checked permissions on the collection I’m reading the selection tag options from, and it’s set to Anyone.
$w.onReady(() => {
// Load categories
$w( “#dbCategory” ).onReady(() => {
$w( “#dbCategory” ).getItems( 0 , $w( “#dbCategory” ).getTotalCount())
.then( (result) => {
let items = result.items;
let totalCount = result.totalCount;
let catOptions = items.map(catMap);
$w( “#iptCategories” ).options = catOptions;
});
});
});
function catMap(value, index, array) { return {label: value.title, value: value.title};}
As a newbie, I don’t know if there’s a way to debug in the live environment, but I have no idea where to start to diagnose this issue.
Thanks in advance!
Chris