I am creating custom webpart in SPFx. I have a yes/no column. I have to use PNP js to get the value, when that check box got selected.
That value I should save it in SharePoint column as
Yes, if its unchecked it should be saved as
Can some one give me the code.
I tried with
.prop("checked" "checked) and
.attr("checked", true). Both are throwing error its not accepting in PNPjs.
Please assist me.