CSNSE / subs5

0 stars 0 forks source link

Get Old Information to Populate on the Edit Screen #13

Closed AmazingAJ10 closed 7 months ago

AmazingAJ10 commented 8 months ago

Old information does not currently populate on the edit screen, requiring you to retype the details as opposed to just editing them, which is annoying, but at least there is update functionality. This is what I will be working on next.

csn-bot commented 7 months ago

On Feb 2, 2024, at 12:54 PM, Headrick, Sean SHeadrick@communityschoolnaples.org wrote:

Follow the tutorial videos where with Megan's Edit code as the example. You should follow that tutorial approach (not aa3). As per the video: change your SubEdit based on your SubUpdateForm. Let me know how that works (try it as soon as you can today/tomorrow as that will definitely benefit your interim!)

RecipeEdit Megan

AJ take your amplify form code and put into your SubEdit !! (See here:)

SubUpdateForm
AmazingAJ10 commented 7 months ago

Edit is working. The main issue was with the async function, because the properties I was calling in the TextField were undefined as a result of a failed getSub try. But now it is all working.😁😁😁😁😁😁😁