nojronatron / Bigfoot-Bib-Report-WL-Form

Customized Winlink Race Tracker Form and Template for use in Bigfoot ultramarathon events.
https://enchanting-pony-09ae40.netlify.app/bigfoot-bib-report-initial
The Unlicense
5 stars 1 forks source link

Top Of Form Fields Not Filled When Loading Existing Data #37

Closed nojronatron closed 1 year ago

nojronatron commented 1 year ago

Describe the bug Stored Race Data includes the Event, Message, Send To, Location, and Subject to a file. Clicking "Save Race data" puts the data there. Clicking "Load Race data" only reloads the Bib Entries and not the top-section data.

To Reproduce Steps to reproduce the behavior:

  1. Complete the top portion of the form: Event, Msg number, Send to, Subject, and perhaps a bib number (optional).
  2. Select an Aid Station and take note (e.g. Klickitat).
  3. Click "Save Race data" button and click OK to save the file.
  4. Change the Aid Station to something else (e.g. Marble Mountain SnoPark).
  5. Click "Load Race data" button and click on the file saved in step 3.

Note: If you clear your browser cache and load the form so that NONE of the entries are filled you can:

  1. Click "Load Race data" button and select a previously saved data file.
  2. Note that none of the top-of-form entries are filled.

Expected behavior Top-of-form fields are re-populated with data stored in a valid file loaded using "Load Race data" button.

Screenshots Add screenshots to help explain your problem, only if necessary.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context None.

nojronatron commented 1 year ago

This is a carry-over bug. The form that this was based off of doesn't do the expected behavior either, so some effort will need to be put in to fixing this.

nojronatron commented 1 year ago

This bug is effectively fixed with PR #36

nojronatron commented 1 year ago

Fixed complete and tested in PR #36