react-native-material-kit icon indicating copy to clipboard operation
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?

Open Jahans3 opened this issue 8 years ago • 2 comments

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.

Jahans3 avatar Jun 05 '17 13:06 Jahans3

+1

kientux avatar Aug 23 '18 11:08 kientux

+1

kilarusravankumar avatar Apr 23 '19 20:04 kilarusravankumar