src/templates/zshare/searcheditable/index.jsx
File was renamed from src/templates/tableshare/editable/index.jsx @@ -22,7 +22,9 @@ toggleEdit = () => { const editing = !this.state.editing this.setState({ editing }, () => { if (editing) { if (editing && this.input && this.input.select) { this.input.select() } else if (editing && this.input && this.input.focus) { this.input.focus() } }) @@ -36,7 +38,6 @@ return } this.toggleEdit() // handleSave({ ...record, ...values }) }) }