- Home /
Adding data to input field with user input
I want to be able to have the player click on a list of possible entries for a word in the text they are typing in. It works up to a point. I have to re-click on the input field after clicking on the list. I tried setting the input field to selected, but that hilights the entire text I want to preserve and make it go poof with any input. It also didn't actually move the cursor over so I could keep typing, I still had to click into the field.
And the other problem is that if there is more text in the field (multiline) even though after each modification I have MoveTextEnd(true). Using arrow keys to get to the end cuts off the beginning.
I realize I'm pushing the boundaries of the input field, but any help on how to get this to work would be delightful.
P.S. It would be lovely if there were a list of tags I could use to find one that worked since neither UI nor InputFiled work.....
Your answer
![](https://koobas.hobune.stream/wayback/20220613190352im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
AutoComplete Text in TextField 2 Answers
Add Text on a 3d object in unity 4.x ? 1 Answer
2/3 times pressing a button does nothing. 1 Answer