The issue is that when I paste a value with whitespace, it also counts the whitespace as value.
For instance, if I enter numInputs=6 and my value is space12space34space56, when I copy and paste it, it displaysspace12space34.
*I tried using trim, but it didn't work. I also tried replace(/\s/g, "") , but it replaced the input value with an empty string.
The issue is that when I paste a value with whitespace, it also counts the whitespace as value. For instance, if I enter numInputs=6 and my value is space12space34space56, when I copy and paste it, it displaysspace12space34. *I tried using trim, but it didn't work. I also tried replace(/\s/g, "") , but it replaced the input value with an empty string.
Steps to reproduce the issue:
Relevant error messages and/or screenshots: