-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Promotional Code empty still calls server #3815
Comments
@codesun , i want to work on this. |
@codedsun so it should validate from client side when promotion code field is empty? |
@codedsun , what about this solution - |
See how it's working for other input fields. This also looks good to me. |
@codedsun can you please make me clear , what you mean by other input fields here? |
@maze-runnar - I meant that refer to the other input fields used in the project for taking reference. Rest it also looks good to me. |
Describe the bug
The Apply promo code section while ordering tickets for an event hits the API even when the promocode text field is empty.
To Reproduce
Expected behaviour
Shouldn't hit api and should be handled client side.
Screenshots
The text was updated successfully, but these errors were encountered: