Margo
(Margo)
2
Hello @dpeete,
You can create new items with PnPjs request:
pnp.sp.web.lists.getbytitle( ).items.add
You can find the code example in this post:
Also, we would suggest creating new items either on button click or on parent item creation, instead of creating an item on form load to avoid errors.