jmurzy / jmurzy/react-router-native

Support for usecase "submit button of form in navbar"

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
639
Forks
38
PR merge metrics
No merged PRs in 30d

Description

A common UI pattern in iOS consists in putting the submit button of a form into the right navbar corner. I wonder how to implement this with this library. The submit button handler would need the local state of the form component in order to submit the form. This is not feasible when using `overlayComponent` and `component`.
The only -- awkward -- way I can imagine doing this is storing the local form state in a flux store, making it visible across components. Any ideas?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.