You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment a second Higher Order Component needs to be written with the following to achieve this,
componentWillReceiveProps (nextProps) {
if(!deepEqual(nextProps.formData,this.props.formData)){
// Rules do not run again when formData changes as a result from a rule
this.onChange({formData: nextProps.formData})
}
The text was updated successfully, but these errors were encountered:
Steffan-Ennis
changed the title
Engine should run the rules again if formData changes as the result of a rule
The Engine should run again if the formData changes as the result of a rule
Aug 16, 2017
I have a rule that populates a set of fields, which should fire another rule
handleChange in applyRules.js
could be something like this
Sample rules
At the moment a second Higher Order Component needs to be written with the following to achieve this,
The text was updated successfully, but these errors were encountered: