From 9585ec456ca2796046c99a75d650f5af1efff100 Mon Sep 17 00:00:00 2001 From: Dale Nguyen Date: Sun, 24 Sep 2023 16:29:37 +0000 Subject: [PATCH] run format --- src/app/components/inputnumber/inputnumber.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/components/inputnumber/inputnumber.ts b/src/app/components/inputnumber/inputnumber.ts index 19764874fc0..f7655748536 100644 --- a/src/app/components/inputnumber/inputnumber.ts +++ b/src/app/components/inputnumber/inputnumber.ts @@ -933,7 +933,12 @@ export class InputNumber implements OnInit, AfterContentInit, OnChanges, Control } private getSelectedText() { - return window?.getSelection()?.toString().replaceAll(/[^0-9']/g, '') || ''; + return ( + window + ?.getSelection() + ?.toString() + .replaceAll(/[^0-9']/g, '') || '' + ); } onPaste(event: ClipboardEvent) {