drakeRAGE/CaptureChronicles
Fix startDate and endDate not prefilled in Update Listing page
开放
#21 创建于 2025年10月28日
bugenhancementfrontendhacktoberfest
仓库指标
- 星标
- (5 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Description:
In the file gallery/src/pages/UpdateListing.jsx, when updating a listing, all details are correctly fetched and displayed except for the startDate and endDate fields. These values are not being populated automatically from the existing listing data, forcing the user to manually re-enter them before submitting the update form.
Steps to Reproduce:
- Go to the Profile page.
- Open an existing listing for editing, if there is none create one listing first.
- Observe that startDate and endDate are not prefilled.
Expected Behavior: Both startDate and endDate should be fetched and displayed automatically like the other fields when updating a listing.