I tried out these steps and it's working so far.
1. Go to phone settings, followed by General Management, then select Language and input. Select Virtual keyboard, then Samsung Keyboard from the list of keyboards.
2. Tap “Predictive text” while turning off Auto Check Spelling.
3. Go to...