Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Update Immutable docs #974

Merged
merged 1 commit into from Oct 16, 2017
Merged

Update Immutable docs #974

merged 1 commit into from Oct 16, 2017

Conversation

ghost
Copy link

@ghost ghost commented Oct 16, 2017

For an hour or so I was wondering why my form validators and onSubmit function were returning undefined when accessing attributes e.g. formObj.name. Turns out, when using the immutable counterparts, things are returned as Map.

Added formObj.get('name'); so people will get a hint that it works that way.

For an hour or so I was wondering why my form validators and onSubmit function were returning undefined when accessing attributes e.g. `formObj.name`. Turns out, when using the immutable counterparts, things are returned as `Map`. 

Added `formObj.get('name');` so people will get a hint that it works that way.
@davidkpiano davidkpiano merged commit 22c1268 into davidkpiano:master Oct 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant