mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
[DURACOM-191] align with main branch and migrated to be standalone new components
This commit is contained in:
@@ -109,13 +109,12 @@ export class NumberPickerComponent implements OnInit, ControlValueAccessor {
|
||||
|
||||
if (i >= this.min && i <= this.max) {
|
||||
this.value = i;
|
||||
this.emitChange();
|
||||
} else if (event.target.value === null || event.target.value === '') {
|
||||
this.value = null;
|
||||
this.emitChange();
|
||||
} else {
|
||||
this.value = undefined;
|
||||
}
|
||||
this.emitChange();
|
||||
} catch (e) {
|
||||
this.value = undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user