double reaction on enter

Hello!
Faced such a problem.
After selecting a row in a datatable and pressing enter, I get a modal window with a form and also a reaction to the enter button, in which the form is validated.
The first time the form is shown, the validation happens automatically and shows an error, although the user did not press enter.
How to fix it?

https://snippet.webix.com/mmtkmip2

Comments

  • @Roman
    try to delay popup showing

      showAddToCheck(goods){
        webix.delay(this.addGoodsToCheck.show, this.addGoodsToCheck, [goods]);
      }
    
  • Thank you!!!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion