This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Description
The LineItemForm needs a way to preserve partially entered data, so if the user navigates to another line item, their input is not lost.
I tried adding storing of data to the code myself, but failed and creating endless loops with react-hook-form. This seems to be a common issue, and I couldn't figure out, how to do it.
See this private Notion card:
Clicking ‘Add Item’ before saving Line Item loses data in item.