Skip to content

Commit

Permalink
Merge pull request #25 from navedqb/fix--15732
Browse files Browse the repository at this point in the history
fix: disable paste functionality in disabled mode
  • Loading branch information
navedqb authored May 29, 2024
2 parents 3d5b78e + fda5f8e commit 255bfc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/inputmask/inputmask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ export class InputMask implements OnInit, ControlValueAccessor {
}

handleInputChange(event: Event) {
if (this.readonly) {
if (this.readonly || this.disabled) {
return;
}

Expand Down

0 comments on commit 255bfc7

Please sign in to comment.