We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9344416 + 1da2e03 commit 7b730b0Copy full SHA for 7b730b0
src/projects/detail/components/EditProjectForm.jsx
@@ -135,10 +135,15 @@ class EditProjectForm extends Component {
135
this.props.submitHandler(model)
136
}
137
138
- handleChange(change, isChanged) {
139
- if (isChanged) {
140
- this.props.fireProjectDirty(change)
141
- }
+ /**
+ * Handles the change event of the form.
+ *
+ * @param change changed form model in flattened form
142
+ * @param isChanged flag that indicates if form actually changed from initial model values
143
+ */
144
+ handleChange(change) {
145
+ // removed check for isChanged argument to fire the PROJECT_DIRTY event for every change in the form
146
+ this.props.fireProjectDirty(change)
147
148
149
0 commit comments