I have two textboxes and i want to just disable one of them from pasting anything. I have tried
sinkEvents( Event.ONPASTE );
but it disables both of the textboxes from pasting.
I have two textboxes and i want to just disable one of them from pasting anything. I have tried
sinkEvents( Event.ONPASTE );
but it disables both of the textboxes from pasting.
Copyright © 2021 Jogjafile Inc.
Try to create a custom
TextBox
wherein you have to overrideonBrowserEvent
function.