vtex-apps / store-components

Default VTEX store components
51 stars 142 forks source link

bug: validation in shipping simulator #1079

Closed GustaDev00 closed 5 months ago

GustaDev00 commented 1 year ago

What problem is this solving?

when the zip code is not valid, it still inserts the zip code and leaves the orderform completely reset. You can test with zip code: 00000-000

This zip code undergoes zip code validation, but there is no city or state, street or anything. That's why everything is zero

How to test it?

Insert zip 00000-000

https://fieldcep--lojaduratex.myvtex.com/chuveiro-com-desviador-e-ducha-manual-acqua-plus-1990-c-std-kit/p

Screenshots or example usage:

Captura de Tela 2023-03-14 às 01 21 39 Captura de Tela 2023-03-14 às 01 18 25 Captura de Tela 2023-03-14 às 01 16 20

Describe alternatives you've considered, if any.

Related to / Depends on

How does this PR make you feel? :link:

I would love to have a PR, this would be my first contribution to VTEX

vtex-io-ci-cd[bot] commented 1 year ago

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

vtex-io-docs-bot[bot] commented 1 year ago

Beep boop :robot:

I noticed you didn't make any changes at the docs/ folder

In order to keep track, I'll create an issue if you decide now is not a good time