Cancel button works in Firefox but not in Google Chrome
pedrosantos867 opened this issue · comments
I'm using the code bellow in Firefox and I'm able to change to the old value when the cancel button is clicked but in Chrome the same thing doesn't happen.
<input [disabled]="disabled" [placeholder]="disabled ? '' : placeholder"
[(ngModel)]="value" [(colorPicker)]="value" cpPosition="bottom" cpAlphaChannel="disabled" cpOutputFormat="hex"
cpOKButton="true" cpOKButtonText="Submit"
cpCancelButton="true" cpCancelButtonText="Cancel"
[ngClass]="{invalid: (invalid | async)}" #input [ngStyle]="{'border-left-color': value}">
Ubuntu 18.04.6 LTS
Chrome: Version 96.0.4664.110 (Official Build) (64-bit)
Firefox: v95.0.1 (64-bit)