Description
Here are config props I tried to set on TextInput, but clearButton wouldn't show up
multiline: true,
numberOfLines: 2,
clearButtonMode: "while-editing",
Reproduction Steps and Sample Code
List all the steps required to reproduce the issue you're reporting. These steps should be clear and concise.
An example of code is
render() {
return (
<TextInput
returnkeyType: "done",
multiline: true,
numberOfLines: 2,
clearButtonMode: "while-editing",
/>
);
}
Solution
Add clear button
Additional Information
React Native version: 48
Platform: [FILL THIS OUT: iOS, Android, or both?] iOS
Development Operating System: macOS
Dev tools: iOS
@facebook-github-bot no-template
Hey @myJarvis, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!
How to Contribute • What to Expect from Maintainers