Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/multiple ego forms not submitting #948

Merged
merged 3 commits into from
Jul 29, 2019

Conversation

rebeccamadsen
Copy link
Contributor

@rebeccamadsen rebeccamadsen commented Jul 26, 2019

Fixes #946. The issue was not with exporting, but rather with multiple consecutive ego forms. This ensures that consecutive ego forms aren't a problem, and fixes an issue with ego default values not populating correctly.

Also fixes #947. We had updated protocol validation to allow it, but had not updated field validation to accept 0 as valid.

@rebeccamadsen rebeccamadsen requested review from wwqrd and jthrilly July 26, 2019 20:51
@wwqrd
Copy link
Contributor

wwqrd commented Jul 29, 2019

This fix appears to work fine for EgoForm, it also fixes 0 value validations in the RadioGroups.

I'm not keen on the amount of indirection in the clickNext clickPrevious implementations, is there a way we could avoid the use of refs?

I think since this fixes the existing implementation it should still be merged.

@wwqrd wwqrd merged commit 5751ffd into master Jul 29, 2019
@jthrilly
Copy link
Member

I'm not keen on the amount of indirection in the clickNext clickPrevious implementations, is there a way we could avoid the use of refs?

I think this would fall under the remit of this existing refactor: https://github.com/codaco/Network-Canvas/issues/927

@rebeccamadsen rebeccamadsen deleted the fix/multiple-ego-forms-not-submitting branch July 29, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants