You can achieve this with the help of below modifications.
Change your TextInput control mode to Multiline Text.
Add a Slider Control in the App
Add the below code on OnChange Property of slider control.
If(EndsWith(TextInput.Text,Char(10)),Select(SubmitBtn))