Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInput clearButtonMode not showing when multiline set to true #13927 #17480

Closed
droid-lover opened this issue Jan 8, 2018 · 2 comments
Closed
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@droid-lover
Copy link

droid-lover commented Jan 8, 2018

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

@react-native-bot
Copy link
Collaborator

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

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 ContributeWhat to Expect from Maintainers

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Jan 8, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Jan 8, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jan 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants