This commit is contained in:
parent
3da5eac057
commit
fb6b7a9503
@ -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 [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user