yiisoft / yii

Yii PHP Framework 1.1.x
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
4.85k stars 2.28k forks source link

CMaskedTextField always catching Escape key #606

Closed jayala closed 12 years ago

jayala commented 12 years ago

I understand that when you press the escape key in a CMaskedTextField it cancels the value modification and restores the original value. But, I have a dialog (Which closes with Escape key), when a CMaskedTextField is focused, it catches the key press event and prevents others methods to be fired. But when it is not being modified, it should not prevent other methods to be fired.

samdark commented 12 years ago

You can report the issue here: https://github.com/digitalBush/jquery.maskedinput