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
When connecting the colorpicker to an input in a Reactive From using MccColorPickerOrigin and MccConnectedColorPicker it put the input controls as pristine: false.
The binding between the color picker and the input is certainly detected as a modification after the init.
The binding shouldn't make the input controls as pristine
The text was updated successfully, but these errors were encountered:
I've bypassed it by creating my own control that implements ControlValueAccessor and wraps MccColorPickerComponent
IMPORTANT NOTICE: I only need to track confirmed changes as dirty, that's why I use selected event with distinctUntilChanged. this.formData.valueChanges.pipe(first()) and skip(1) is needed to to know first value after initialization (for distinct to work) but don't trigger change for it
When connecting the colorpicker to an input in a Reactive From using MccColorPickerOrigin and MccConnectedColorPicker it put the input controls as
pristine: false
.The binding between the color picker and the input is certainly detected as a modification after the init.
The binding shouldn't make the input controls as pristine
The text was updated successfully, but these errors were encountered: