This commit is contained in:
Bxio 2025-04-04 20:47:38 +01:00
parent 3f5a852c99
commit 93efd64daa

View File

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