Skip to content

Commit 3b0b70d

Browse files
committed
Release v 1.3.2:
- Fixing #23
1 parent e9c8b35 commit 3b0b70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular-code-input/src/lib/code-input.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class CodeInputComponent implements AfterViewInit, OnInit, OnChanges, Aft
173173
e.preventDefault();
174174
e.stopPropagation();
175175

176-
const data = e.clipboardData ? e.clipboardData.getData('text') : undefined;
176+
const data = e.clipboardData ? e.clipboardData.getData('text').trim() : undefined;
177177

178178
if (this.isEmpty(data)) {
179179
return;

0 commit comments

Comments
 (0)