[TextInput] Could we insert image into it?
See original GitHub issueHey RN team,
I’m developing an app and I need to insert custom image into TextInput.
In addition, I need to use delete button to remove the images and also move cursor around them like normal text.
I noticed that in normal OC development we could use NSAttributedString
to achieve.
Is there any way in React Native? Or it’s a missing feature for now?
Thanks in advance.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
React Native - How to add an image to TextInput?
I would like to add an image to TextInput . Like Android's Spannable and IOS's NSAttributedString <Text> <Text> Test </ Text> <Image source ......
Read more >Image Icon in React Native TextInput
Image in TextInput. While working with React Native TextInput we need to assist the user in what to insert in TextInput. · To...
Read more >Is there a way to embed images into text inputs? : r/reactnative
In text input ? No. You can make a view look like a text input and put an image and actual text input...
Read more >Image inside TextInput Example - Expo Snack
Example of Image inside React Native Text Input.
Read more >how to add custom image icon inside input textbox ... - YouTube
put custom icon images inside the input textbox element html using css styles.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know this is not a bug, so I removed the template, sorry.
However, I didn’t get any answers on Stack Overflow (https://stackoverflow.com/questions/48033885/how-to-insert-custom-emoji-small-pictures-into-textinput-of-react-native) so I want to have a try here.
Insert custom Image into TextInput is a common case in iOS development, with using React Native, I want to know whether there is any way (or hacky way) to archive it.
@just4fun did you find a solution?