The Date value must not be updated on the mouse wheel when the property is set to false.
The following condition in the ngOnChanges hook, must be revised to ensure that all other properties that can be dynamically changed should meet the condition:
if (changes['format'] || changes['placeholder']{...}
In this case:
if (changes['format'] || changes['placeholder' || changes['enableMouseWheel' ]{...}
It is reproduced in all date input components from the suite.
Describe the bug When the
enableMouseWheel
boolean value is updated at runtime (on a button click for example), the new value is not respected.To Reproduce Click the button to change the value of the
enableMouseWheel
property: https://stackblitz.com/edit/angular-pwqwkq-hsqfn1The Date value must not be updated on the mouse wheel when the property is set to false.
The following condition in the
ngOnChanges
hook, must be revised to ensure that all other properties that can be dynamically changed should meet the condition:In this case:
It is reproduced in all date input components from the suite.
Reported in private support thread: 1651891