#8372 warmfix-notifyErr #1433
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1433
Loading…
Reference in New Issue
No description provided.
Delete Branch "8372-warmfix-notifyErr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
8372-warmfix-notifyErrto #8372 warmfix-notifyErr@ -30,22 +30,5 @@ export default {
} catch (error) {
console.error(error);
}
form.addEventListener('keyup', function (evt) {
Me he dado cuenta que el problema venía de disparar submit, cuando llamas a submit, este no pasa por el manejador de errores de quasar. El porque no lo he descubierto.
@ -285,2 +285,4 @@
}
async function onKeyup(evt) {
if (evt.key === 'Enter' && !('prevent-submit' in attrs)) {
quería hacer directamente useAttrs() pero me da err de que no hay contexto.
@ -299,3 +315,3 @@
ref="myForm"
v-if="formData"
@submit="save(!!$event)"
@submit.prevent
Creo que no haría falta, pero por si acaso.
@ -115,3 +115,3 @@
return notify(t('There is no assigned email for this client'), 'negative');
data.bankFk = data.bankFk.id;
data.bankFk = data.bankFk?.id;
Si no has rellenado el campo te va a intentar hacer null.id .