Skip to content

Commit db37613

Browse files
author
Thomas Kiendl
committed
MANWS-4842 MANWS-5159: Remove callHandler which is only used for callback properties (while clearableInput is a boolean)
1 parent 62c3bd5 commit db37613

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DateTime.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,7 @@ export default class Datetime extends React.Component {
617617
});
618618
}
619619

620-
_onInputClear = e => {
621-
if ( !this.callHandler( this.props.inputProps.clearableInput, e ) ) return;
622-
620+
_onInputClear = () => {
623621
let clear = {
624622
inputValue: '',
625623
selectedDate: undefined

0 commit comments

Comments
 (0)