react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Use a custom component inside TextInput

Open lucasharada opened this issue 8 years ago • 2 comments

Is there any way to use a custom component inside TextInput, in a way I have the UI of the TextInput with the behaviour of the custom component.

What have you tried

I tried placing Autocomplete as a child component in TextInput, but it breaks the behaviour of the child component not showing anything. Also, it breaks the behaviour of TextInput, as I am always typing on the second character of the String.

Your Environment

software version
ios iOS 11.2 Simulator
react-native 0.55.2
react-native-paper 1.8.0
node 8.11.2
npm or yarn npm

lucasharada avatar May 24 '18 17:05 lucasharada

is it related to #354?

andreluizbellon avatar Jul 03 '18 11:07 andreluizbellon

@andreluizbellon Yes! I'll close it.

lucasharada avatar Jul 18 '18 11:07 lucasharada