DataTableEditDemo correct?

UI Components for React
Post Reply
Hanland
Posts: 24
Joined: 07 Jan 2018, 14:12

06 Apr 2019, 14:21

Hi,
The code in DataTableEditDemo in 3.1 for the function

Code: Select all

inputTextEditor(props, field) {
        return <InputText type="text" value={props.rowData[field]} onChange={(e) => this.onEditorValueChange(props, e.target.value)} />;
}
should be :

Code: Select all

inputTextEditor(props) {
        return <InputText type="text" value={props.rowData[props.field]} onChange={(e) => this.onEditorValueChange(props, e.target.value)} />;
}
The github example for 3.1.1 is the same

Regards

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests