Input value and floating label
Hi,
I'm using floating label on a simple input. When I pass value to this component, the label subscribe the value. If I enter the input and press something, label works nice. I tried autoFocus but when I just exit, label subscribe again.


"native-base": "^2.0.12", "react-native": "0.42.0", "react": "15.4.2"
icon color also not working for Form item floating labels #629
cc @shivrajkumar
I've got the same problem
Same problem for me. I connected form-redux and every time I leave the input the floating label goes back as it assumes the text field is empty.
@luksfk are you using redux-form by any chance and run into this issue?
+1 . Any news on this ?
@fkrauthan yes, i'm using redux.
@luksfk My issue was that I was doing something like this:
<Field name="lastName" component={() => this.renderMyInput()} type="text"/>
This recreated the input field every time I was pressing a key. After changing this to the recommended way of
<Field name="lastName" component={this.renderMyInput} type="text"/>
It was working fine. I think native base has a problem with there javascript code if the underlying input field gets recreated instead of just updated.
is in production?
when will this be available in production ?
By the end of this week.
Fixed with 2.1.5
Check the latest version 2.2
@sankhadeeproy007 When 2.1.5 will be release? The latest release to me is 2.1.4
@oximer The latest of NativeBase is 2.2.1 Check the release tags
@shivrajkumar for me this issue is not resolved in 2.2.1, and is the same as https://github.com/GeekyAnts/NativeBase/issues/1073
working fine on iOS simulator but overlapping in iPhone
Is there a chance the release build is not right here? This appears to work in Debug, but not Release, even in the simulator.
@akhil-geekyants for what it's worth, in glamorous-native we had a problem affecting only release builds. I have no idea if this is related but as people report it's only affecting release it might be worth checking.
On new RN versions, only in release mode, the exported View is not a function but is a string "RCTView" while it was previously a function. If lib code expects a function it might break.
See here for more details: https://github.com/robinpowered/glamorous-native/pull/85
Not big on the "me too" comments but I'm bumping into this in release builds and not totally sure what to do to mitigate.