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

multiline not working (Android) #87

Open
Gabsys opened this issue Jun 6, 2018 · 5 comments
Open

multiline not working (Android) #87

Gabsys opened this issue Jun 6, 2018 · 5 comments

Comments

@Gabsys
Copy link

Gabsys commented Jun 6, 2018

My code : <Input multiline={true} numberOfLines={5} inlineLabel={false} underlineColorAndroid="#939393"/>

Output : The input box resulted in normal single line input, doesn't become bigger nor enable multiline input

Did I miss anything in my code? O.o

@The-Code-Monkey
Copy link

The-Code-Monkey commented Jun 6, 2018

<Input name="message" label="Message" placeholder="" multiline numberOfLines={5} inlineLabel={false} />

you need to do that it wont work without a name as thats how forms work and have you done
import { Input } from 'react-native-clean-form/redux-form-immutable

@Gabsys
Copy link
Author

Gabsys commented Jun 7, 2018

Tried inserting name, still not working. and yeah, i did import Input.

As below is my full code:

<Input  name="Address" label="Address" multiline={true} numberOfLines={5} inlinelabel={false}
  onChangeText={address => this.setState({ address })} defaultValue={this.state.member.address}
 placeholder='Ex: 102, Jalan Nima, Taman Nima' autoCorrect={false} blurOnSubmit={false}
 returnKeyType={'next'} underlineColorAndroid="#939393"/>

@The-Code-Monkey
Copy link

try removing your onchangetext and i dont think its default value its value

@The-Code-Monkey
Copy link

I seem to be getting this issue too now

@The-Code-Monkey
Copy link

Im thinking of taking this library and making it my own. this will take a week or so for me to do so allow me a little time ill sort out most of the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants