As for the ‘textarea’ widget in the form, when I move the focus out of textarea and back, the space at the end will be deleted automatically without reservation, which has caused me trouble. Moreover, the getValue () method will not retain the trailing spaces.
PS. I‘ll talk about my application scenario: I input content to textarea on the left and want to output it in real time in the layout on the right (using ‘input’ events), but this will shift the focus out and back, so I can’t input spaces in the end of textarea.
I want to ask how to solve this problem, Thank you!