Jan 08 2019 02:35 PM
I try to use PnP JS to attach files to list item from SharePoint framework and have issue to pass file content.
0. I'm not using any javascript framework to simplify the demo
1. Here is the HTML in the render()
...
Jan 15 2019 08:33 AM
Issue resolved after I changed the code to process files in input file element change event. All thse code will be outside default class.
The code looks like below.