diff --git a/packages/reactstrap-validation-date/src/AvDateRange.js b/packages/reactstrap-validation-date/src/AvDateRange.js
index <HASH>..<HASH> 100644
--- a/packages/reactstrap-validation-date/src/AvDateRange.js
+++ b/packages/reactstrap-validation-date/src/AvDateRange.js
@@ -326,8 +326,10 @@ export default class AvDateRange extends Component {
           disabled={attributes.disabled}
           className={classes}
           onChange={({ target }) => {
-            (target.id === startId || target.id === endId) &&
+            if(target.id === startId || target.id === endId){
               this.onDatesChange(target.value);
+
+            }
           }}
           data-testid={`date-range-input-group-${name}`}
         >
refactor(reactstrap-validation-date): linter didnt like shorthand