christianalfoni / christianalfoni/formsy-react

Strange behavior with react tabs

Open
#321 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.6k
Forks
421
PR merge metrics
No merged PRs in 30d

Description

I am using formsy with react-tabs and getting some strange behavior. I setup my from like so:

```



By Date
By Call Details
By Server
By Outcome
By Facility


Choose the date/date range you would like to view












Type in any of the call detail filters
















```

In the on submit when I inspect the model it only has properties for the visible tab. Everything renders fine but if the tab is not selected, the formsy model parameter will not contain any fields for it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Use the Formsy.Form and react-tabs reproduction shown in the issue, then inspect the submitted model while a non-selected tab contains fields. Done means the model includes fields from every tab, rather than only fields from the visible tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.