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