From a54ca7683fada297438265803ed8efa582cc2e55 Mon Sep 17 00:00:00 2001 From: Haobo Chen Date: Tue, 24 Apr 2018 11:48:26 -0700 Subject: [PATCH] hc - Exclude state prop from openProps for DateInput component --- src/components/DateInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DateInput.js b/src/components/DateInput.js index 23809ef38..8bbcb343c 100644 --- a/src/components/DateInput.js +++ b/src/components/DateInput.js @@ -239,7 +239,7 @@ export default class DateInput extends React.Component { render() { const { className, dateVisible, disabled, footer, header, id, showOnFocus, - dateFormat, defaultValue, keyboard, onBlur, onChange, parse, value, ...props } = this.props; + dateFormat, defaultValue, keyboard, onBlur, onChange, parse, value, state, ...props } = this.props; const { open } = this.state; const date = this.getCurrentDate();