FaridSafi/react-native-gifted-form

onBlur, onFocus, onChangeText, etc, should be maintained

Opened this issue · 1 comments

i first wanna say I love gifted form. I'm half way through a project where I've used it for everything. I have lots of custom widgets, etc. BUT, losing the original APIs was a mistake. period. we need to fix it; we need to rewrite it so all these methods still work, i.e. the same names from the original APIs. there's no reason that shouldn't be the case. That's how you allow for all the automated goodness that gifted form brings, while _also_ allowing you complete customization if you're willing to drop down to the lowest JS API react native provides.

i'd just do it, but I figured there is probably some opinion about this and it's best I hear it first. ???

@faceyspacey I completely agree.

I have a specific use case where I need to pop a picker onFocus of a <GiftedForm.TextInputWidget />. Without access to the onFocus api, I am not sure that this is possible.