Custom input stopped working

Hi, I have a problem with “Custom Input” activity.

I have followed this example in the official UiPath webpage:

I found a problem: when using “window.external.setResult” javascript command inside the HTML, I pass as an argument a long string. This string exceedes 1024 characters, and that´s the problem, the form window keeps freezed (Not Responding). But if the returned string is less than 1024 characters, it works flawlessly.

Anyone has had the same problem?

May i know what was the error you were getting