-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
feedbackPositive customer's feedback which does not fall into other categoriesPositive customer's feedback which does not fall into other categories
Description
I have problem with getting into plain data object via state.get() method.
Here's a small getter to have value out of hookstate:
getCyclicalActivityFormikDataForPUT() {
return state.get({ noproxy: true, stealth: true })
.cyclicalActivityFormikDataForPUT;
},
I also tried:
getCyclicalActivityFormikDataForPUT() {
return state.cyclicalActivityFormikDataForPUT.get({
noproxy: true,
stealth: true,
});
}
but my output is still:
ImmutableObject<ImmutableObject<.....someType>>
and should be just:
<.....someType>
What am I doing wrong? help please.
I just need plain data object to copy into Formik as initial state.
Metadata
Metadata
Assignees
Labels
feedbackPositive customer's feedback which does not fall into other categoriesPositive customer's feedback which does not fall into other categories