Pasted input value is truncated

,

I found this old post here saying that the truncation when getting the value of an input had been fixed, however I’m still having this issue.

To replicate it, paste in text that is longer than the textfield and then click outside the textfield. When getting the textfield’s value at this point it is the truncated one.

It’s the correct value if any key input happens, though.

I’m not seeing this problem on Ps Beta 25.2.0 on Windows 10. Even though the textfield is truncated and has ... at the end in the UI, when I get it and log it to the console, it’s the full-length text in the textfield.

let prompt = document.getElementById("textfieldPROMPT").value;
    currentPrompt = prompt;
    
    console.log(currentPrompt)