Error after selecting from the dropdown menu

The user enters one value from the dropdown menu in several lines (i.e. writes part of the text), confirms with the Enter key and repeats. After entering a few lines (4-5) an error appears.
Screenshot 2024-04-17 at 15.33.24