@colijnit/corecomponents_v12 300.1.3 → 300.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9346,7 +9346,10 @@ class InputNumberPickerComponent extends BaseInputComponent {
|
|
|
9346
9346
|
}
|
|
9347
9347
|
handleInputKeyDown(event) {
|
|
9348
9348
|
// event.preventDefault();
|
|
9349
|
-
if (
|
|
9349
|
+
if (this.readonly) {
|
|
9350
|
+
return false;
|
|
9351
|
+
}
|
|
9352
|
+
if ((event.code === 'Enter' || event.code === 'NumpadEnter')) {
|
|
9350
9353
|
this.modelChange.next(this.model);
|
|
9351
9354
|
return false;
|
|
9352
9355
|
}
|