Skip to content

Promotional Code empty still calls server #3815

@codedsun

Description

@codedsun

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

  1. Open the page for ordering ticket
  2. Click on apply promocode
  3. Click on tick without entering any value -Hits the API

Expected behaviour
Shouldn't hit api and should be handled client side.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions