react-native-material-kit
react-native-material-kit copied to clipboard
When manually clearing TextField the floating label stays in it's current state - can I manually move it?
Thanks for the great library. I am having an issue with the floating label, I gave users the ability to reset the form value using redux-form like so:
_clearText () {
const { input: { name }, meta: { form }, dispatch } = this.props
dispatch(reset(form, name, null))
}
When I do this however the floating label stays in the floating state and does not come back to the initial position. Can I manually control it?
If it's not possible I will submit a PR in a few days.
+1
+1