This commit is contained in:
Bxio 2025-04-05 10:54:07 +01:00
parent 20c67df574
commit 17f236836b

View File

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