Closed pedrosantos867 closed 2 years ago
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)
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.
Ubuntu 18.04.6 LTS Chrome: Version 96.0.4664.110 (Official Build) (64-bit) Firefox: v95.0.1 (64-bit)