This commit is contained in:
parent
20c67df574
commit
17f236836b
@ -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("Erro ao carregar escolhas:", rows);
|
||||
} catch (err) {
|
||||
console.error("Erro ao carregar escolhas:", err);
|
||||
return [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user