marthaegrimaldi / marthaegrimaldi/restaurant-ordering-platform-with-source-code
Enatega Admin Dashboard: Subcategories Disappear When Updating a Product
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a user clicks on any product to update its details, the associated subcategories do not load or display in the update form. As a result, the subcategory field appears empty or missing, preventing the user from knowing or modifying the existing selection.
Steps to Reproduce:
Go to the product list page.
Click Edit on any existing product.
Observe the subcategory field.
Expected Result:
The subcategory field should display the current subcategories assigned to the product.
Actual Result:
The subcategory field is blank, and previously assigned subcategories are not shown.
Desktop (please complete the following information):
OS: [e.g. Windows]
Browser [e.g. chrome]
Version [e.g. Latest]
Labels: Enatega Multivendor Admin Dashboard, High Priority, Bug
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the product list page and follow the Edit flow for an existing product until the update form renders its subcategory field. Reproduce the blank field, trace how the product's assigned subcategories are loaded into that form, and verify that existing selections are displayed and remain editable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100