The overridden onClick () does not work (it goes into if, it calls click (), but nothing happens) in Chrome browser version 56:

onClick: function onClick(payload) { if (this.selectFile != null) { $(this.selectFile.domNode). //Это input click(); } } 

But the same code works in firefox.

  • Can you see the full code? - ddeadlink

1 answer 1

Try $(this.selectFile.domNode).on('click' function(){});

  • Try to write more detailed answers. Explain what is the basis of your statement? - Nicolas Chabanovsky