Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Context: When two or more Fields are used either inside the Conditional component or both in their own Conditional with the same show condition, only the last Field receive its initial value set in item attribute via Formol component. The cause: when a Field is mounted, the register function is executed to register the component in transientItem variable. But due to the async nature of setState, the transientItem between Fields registration stays the same. I think this commit is an attempt to fix the bug c12d07c But it seems to appear again #62
- Loading branch information