Skip to content

Newly Added Category Doesn’t Appear in Dropdown Until Page Refresh – Product Page (Admin Panel) #725

@waleedahmedhere

Description

@waleedahmedhere

Describe the bug
On the Product page in the admin panel, when a new category is added using the dropdown interface, it is not immediately reflected in the dropdown list. The newly created category only becomes visible after manually refreshing the browser.

To Reproduce
Steps to reproduce the behavior:

Go to the Product page in the admin panel
Use the category dropdown to add a new category
Attempt to select the newly added category from the dropdown
Observe that it does not appear until you refresh the page
Expected behavior
The dropdown should automatically update and include the newly added category immediately without requiring a page refresh.

**
Screenshot

Recording 2025-06-24 113631.zip

**
Attach if available.

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Version: 123.0.6312.86

Additional context
This is likely due to missing state updates or failure to re-fetch category data after creation. A real-time update or dynamic refresh of the dropdown options would significantly improve workflow efficiency for admins.

Activity

har33m
added
bug
Something isn't working

good first issue
Good for newcomers

Enatega Multivendor Admin Dashboard
3 days ago

AsadH123
assigned
ZeeshanRafiq38
3 days ago

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions