Start editing title of first lesson in the session
Expected Behavior
I can continue editing the title of the first lesson, name of first section saves successfully
Actual Behavior
The title of the first new lesson I am editing "jumps" to be the title of the first added section, first lesson title reverts to "New Lesson"
Error Messages / Logs
No error messages. From the request/response, the first section title appears to be sent but it doesn't include the first lesson - just the second and third lesson with orders of 2 and 3.
When clicking away from editing the (now) first section title, it overwrites the first section title text. Editing the first lesson title again then saves and creates a new, real lesson ID.
This is not happening in the Course Builder UI/UX update feature branch. We are on longer allowing edit lesson title in the syllabus side, so the issue will not be present and I'm not seeing the jumping anymore.
Reproduction Steps
Expected Behavior
I can continue editing the title of the first lesson, name of first section saves successfully
Actual Behavior
The title of the first new lesson I am editing "jumps" to be the title of the first added section, first lesson title reverts to "New Lesson"
Error Messages / Logs
No error messages. From the request/response, the first section title appears to be sent but it doesn't include the first lesson - just the second and third lesson with
order
s of 2 and 3.When clicking away from editing the (now) first section title, it overwrites the first section title text. Editing the first lesson title again then saves and creates a new, real lesson ID.
https://github.com/gocodebox/lifterlms/assets/627497/62c43f5a-6816-4bfb-92ce-4a355f30edfb
This issue has be recreated:
Browser, Device, and Operating System Information
Chrome on macOS