I want to disable paste event on input box in Ant design. i didn't find a correct solution yet. Thanks in advance
i used this and worked
inputOriginclick = () => {
this.myOriginRef.current.input.onpaste = () => {
return false;
};
};
<Input
value={this.state.origin}
type='text'
placeholder='Enter City'
ref={this.myOriginRef}
onClick={this.inputOriginclick}
onChange={e => this.handleChage('origin', e)}
/>