@colijnit/corecomponents_v12 261.20.18 → 261.20.19
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.
|
@@ -9337,6 +9337,9 @@ class InputNumberPickerComponent extends BaseInputComponent {
|
|
|
9337
9337
|
}
|
|
9338
9338
|
handleInputKeyDown(event) {
|
|
9339
9339
|
// event.preventDefault();
|
|
9340
|
+
if (this.readonly) {
|
|
9341
|
+
return false;
|
|
9342
|
+
}
|
|
9340
9343
|
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
9341
9344
|
this.modelChange.next(this.model);
|
|
9342
9345
|
return false;
|