It is likely because if you only send the Enter key, it still focuses the text field and selects the existing value. So, sending the Enter key overwrites it.
You should either use Send keys to write the entire value, instead of just sending the Enter key. Or send a right arrow key before the Enter key, so it moves to the end of the value, instead of having it all selected.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.