Skip to content

Conversation

@indykoning
Copy link
Member

Due to the v-model not being lazy debouncePromise is triggered on every character typed.
Which is not a problem for isEmailAvailable with the debounce. However handleGuest attempts to set the email on the cart, where validation is done wether the e-mail address is valid.

This means for every time an email is checked for availability it is also getting blocked by the setGuestEmailOnCart graphql call.

We do not want the v-model being lazy since the CheckoutLogin won't know the entered email until the field gets unfocussed.

Jade-GG
Jade-GG previously approved these changes Nov 14, 2025
@royduin
Copy link
Member

royduin commented Nov 14, 2025

Tests are failing? And master is v5 now, so we also need this on 4.x?

@indykoning
Copy link
Member Author

Yes, we do want this on V4. I'll update it

@indykoning indykoning changed the base branch from master to 4.x November 17, 2025 14:48
@indykoning indykoning dismissed Jade-GG’s stale review November 17, 2025 14:48

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants