diff --git a/dev/App.js b/dev/App.js
index 8a10d049c..d32befcfc 100644
--- a/dev/App.js
+++ b/dev/App.js
@@ -10,6 +10,11 @@ export default class App extends Component {
addResponseMessage(newMessage);
}
+ handleOnChangeMessage = (event) => {
+ event.preventDefault();
+ console.log(event.target.value);
+ }
+
render() {
return (
);
diff --git a/src/components/Widget/components/Conversation/components/Sender/index.js b/src/components/Widget/components/Conversation/components/Sender/index.js
index 09367a749..892ae3de1 100644
--- a/src/components/Widget/components/Conversation/components/Sender/index.js
+++ b/src/components/Widget/components/Conversation/components/Sender/index.js
@@ -5,9 +5,9 @@ import send from '@assets/send_button.svg';
import './style.scss';
-const Sender = ({ sendMessage, placeholder, disabledInput, autofocus }) =>
+const Sender = ({ sendMessage, placeholder, disabledInput, autofocus, handleOnChangeMessage }) =>