Skip to content

Fix: Attendee endpoint serving none values for non-required fields #6586

@akshat0047

Description

@akshat0047

Describe the bug
On rendering attendee information on frontend there are fields with labels but no value we need to fix it by serving only not null value to front end

To Reproduce
Steps to reproduce the behavior:

  1. Create an Event on Frontend and add tickets
  2. Make attendee form with mixed, required and non required values
  3. Buy few tickets with mixed information and check attendees under tickets tab of manage events
  4. You will see labels with blank values

Frontend Screenshot

Expected behavior
Labels with blank values should not exist, if a field is blank do not serve it through api
We may fix it by:

  • Adding a default value to non required-fields

Additional context
For more refer to this PR and this issue

Working on it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions