Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop text in number field is not triggering the mask #28

Open
ReginaldoSantos opened this issue Jan 15, 2013 · 1 comment
Open

Comments

@ReginaldoSantos
Copy link

Steps to reproduce: select some text in the browser, hold right button of the mouse and drag it to some textfield with numeric mask. It allows the text to be inserted in the field.

I still don't have a fix for that ... I've tried to call:

setTimeout(this._onPaste(e, o), 1);

just like you do for paste event, but once scope is different it throws some errors, thus I've decided to open the issue an get some feed back. Maybe _onFocus is not a good place.

Just let me know your comments.

Regards,

@jcspader
Copy link

jcspader commented Jul 1, 2013

If you call the event paste on blur event or change, this should work.
If you use html 5, might try something with Drag and Drop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants