-
Bug
-
Resolution: Obsolete
-
Undefined
-
None
-
4.17
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
In our project we're using the ResourceYAMLEditor to perform updates on our CRs.
I have a callback configured to listen to all the changes:
<ResourceYAMLEditor
initialResource={YAML.stringify(fromState.cr, null, ' ')}
onSave={updateModel}
onChange={() => {
console.log('Event fired!');
dispatch({
operation: ArtemisReducerOperations.setYamlHasUnsavedChanges,
});
}}
/>
Unfortunately when I'm executing this, there's no log in my console indicating changes - see attached screenshot.
