drakeRAGE/CaptureChronicles

Fix startDate and endDate not prefilled in Update Listing page

開放

#21 建立於 2025年10月28日

 (3 則留言) (0 個反應) (2 位負責人)JavaScript (7 個分叉)auto 404
bugenhancementfrontendhacktoberfest

倉庫指標

星標
 (5 顆星)
PR 合併指標
 (30 天內沒有已合併 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:

  1. Go to the Profile page.
  2. Open an existing listing for editing, if there is none create one listing first.
  3. 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.

貢獻者指南