Closed ghost closed 6 years ago
Could you please share a link to a repository? It's hard to find a solution without seeing some code.
Wow, Akkie thanks. Im replicating the issue. A moment.
This is the Component. The firstName
text input is a basic Control.text but renders as an uncontrolled component. It has an initial value but doesn't load the value. Same as the other decorated components.
I checked the FormProps
value
field and it contains the initial value.
I have been trying to follow strict the Auth
module structure.
@orar
Your model path is wrong. You define it as data
but you use model. So in your case you must either change the path front.material.data
to front.material.model
or you rename your reducer property from model
to data
.
Yeah right. Incredible that i never noticed something simple but did for complex stuff. This shouldn't have been an issue.
I been using silhouette all the time but new to React and have been trying out with this seed and its smooth, great. I have created another module
/route/Front
following the Auth structure and everything is working out except thatreact-redux-form.Control
only doesn't load initial values in the initialFormState in any component ofFront
. I have tried initial form values inSignInModule
forSignInComponent
from Auth and it works as expected. Also Control renders inFront
as an uncontrolled component but not in Auth and works as expected as like in any component inAuth
. Is there anything that i can't figure out?