Events - unsaved changes close confirmation with block used keyboard ESC

Events - unsaved changes close confirmation with block used keyboard ESC

hyklhykl Posts: 48Questions: 19Answers: 5

I want source code:

If I open Create new record and write to values and I clicked to keyboard keypress ESC, will not close !!!

Thank you.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,783Questions: 1Answers: 10,511 Site admin
    Answer ✓

    Hi,

    By default pressing esc will cause the Editor window to "close". If you want to be able to cancel that, you should change it to "blur", that can be done with the onEsc option of the form-options object.

    That combined with this example should do what you need.

    Allan

  • hyklhykl Posts: 48Questions: 19Answers: 5

    Hóóóóólááá, I am very happy :-) Thank you very much and thank you for fast time answer :-)

    Tested a it is OK :-)

This discussion has been closed.