-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] corriger envoie de requêtes nouveau formulaire #2596
Conversation
(formStore.data.vos_coordonnees_occupant_email !== undefined || | ||
formStore.data.vos_coordonnees_tiers_email !== undefined) | ||
) { | ||
if (formStore.currentScreen && formStore.currentScreen.slug !== 'adresse_logement' && formStore.currentScreen.slug !== 'signalement_concerne') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on peut mettre cette condition dans une fonction ?
this.isTyping = true | ||
clearTimeout(this.idFetchTimeout) | ||
this.idFetchTimeout = setTimeout(() => { | ||
this.isTyping = false | ||
requests.validateAddress(search, this.handleUpdateInsee) | ||
}, 300) | ||
}, 2000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est un peu long :)
Si on choisit un lieu hors territoire ouvert, et qu'on clique sur suivant avant la popup (2 secondes + temps de la requête), on ne voit jamais la popup. (j'ai fait le test)
Je comprends le côté frustrant avec 300ms. Mais il faut raccourcir :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 retours
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vu ensemble, je valide.
Ce sera revu avec une version plus idéale dans un ticket à venir.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok pour moi ! :) tests et lecture
Ticket
#2595
Description
Tests