diff --git a/web/app/components/input/input.jsx b/web/app/components/input/input.jsx index 59190342..fac558c7 100644 --- a/web/app/components/input/input.jsx +++ b/web/app/components/input/input.jsx @@ -84,7 +84,7 @@ export default class Input extends Component { this.setState({ isFieldDisabled: true, isErrorShown: false }); if (mods.mode === 'edit') { - api.edit({ text }) + api.edit({ text, id }) .then(() => { if (this.props.onSubmit) { this.props.onSubmit({ id });