React SPFx - Adding files to SharePoint list field using PnPjs
问题 I'm building an application using SPFx Webpart with React. On one of my components I have a form that the user can fill out. I'm using PnPjs to push the user's responses into my list field. Everything works as expected. I was looking at how to add a file or attachment field type to a list. I saw I can do it in the powerapps. So now in my "Product" list I have a field called attachments . When I attach files to that field from SharePoint's backend and then make a call to the list using PnPjs