react-chat-widget icon indicating copy to clipboard operation
react-chat-widget copied to clipboard

Need input onChange function

Open DevFatani opened this issue 7 years ago • 1 comments

Please I need this function [onChange] in [input] to be handle in my project, I download the project and try to modify it with my project it takes a lot and a lot of change

so, please help me...

DevFatani avatar Aug 29 '18 05:08 DevFatani

Please I need this function [onChange] in [input] to be handle in my project, I download the project and try to modify it with my project it takes a lot and a lot of change

so, please help me...

Now they have a widget property called handleTextInputChange, just use it on your <Widget ... />

<Widget 
  title={title}
  senderPlaceHolder={'Type a message...'}
  handleNewUserMessage={onClientMessage}
  handleTextInputChange={console.log}
/>

will be called on every change on client input

Bonfims avatar May 28 '23 05:05 Bonfims