-
-
Notifications
You must be signed in to change notification settings - Fork 170
The ref is not working, also does not work in case of Redux #162
Description
Line 303 in fe6b740
| proceed = this.refs.activeComponent.refs.component.isValidated(); |
I had having issue that the function isValidated was not being called when the step was being changed. The console was showing an error on this line that the call to undefined function isValidated.
After debugging, I removed the Redux connect from the step component and also changed the line to following so that it could access the isValidated method of step component because I saw that the component object is in activeComponent itself and not in ref.component.
proceed = this.refs.activeComponent.isValidated();
Now this works for me, but I thought it should be fixed. This issue is may be because of the new React updates done for the Ref method. Also the support for Redux should be implimented/fixed for this method as after adding Redux to component, I was not able to get activeComponent either on above line.