SPFx icon indicating copy to clipboard operation
SPFx copied to clipboard

Autobind error

Open Sam-Hall opened this issue 1 year ago • 0 comments

I followed this blog post... https://ravichandran.blog/2020/06/12/send-and-receive-values-between-two-spfx-webparts/ but I get an error about autobind with SPFx 1.16.1. Not sure how to refactor SpfxSend.tsx to use arrow notation, any ideas what to do about this?...

  @autobind
  private onListPickerChange(selectedlist: string) {
    this.props._listelected({ selectedlist: selectedlist });
  }

Sam-Hall avatar Mar 13 '23 00:03 Sam-Hall