Conversation
no need to import text input anymore needs testing
|
missing readme tho |
|
What's the need for this, could you elaborate in the readme? |
|
Hi, sorry for late reply. I loved your idea of the auto focus form and extended it to a general module that can use not only textinput but also with any other custom modules such as pickers and input element from react native elements, and etc. I did a silly pull request though, and shared it before testing. My idea was to why not use this for any component that implemets focus and onSubmit functionality. And later by implementing focus and onsubmit functionality for the autofocus form component, those form components can be used in a nested behavior, too. For example, Then, Too, has the auto focus function everywhere. Thus, I have decided to quit this implementation for a while. You can close the pull request. I may in the future re-implement this module in some new way. But not anytime sooner. Have a nice day! |
now, the module can be used with elements other than text input too,
also there's no need to import text input from this module anymore