This commit is contained in:
Bxio 2025-04-04 21:27:05 +01:00
parent 3da5eac057
commit fb6b7a9503

View File

@ -11,7 +11,10 @@ async function loadChoices() {
return rows.map(row => ({
name: row.name,
value: row.value.toString() // converte para string se necessário
}));
})),
console.log("Escolhas carregadas:", rows);
} catch (err) {
console.error("Erro ao carregar escolhas:", err);
return [];