From 6f4d13aeae809680c067bf7adcc8b258b4e433ea Mon Sep 17 00:00:00 2001 From: Arthur Denner Date: Thu, 3 Oct 2019 12:59:26 +0200 Subject: [PATCH] fix(datepicker): showCalendar no longer triggers if readOnly is true originally fixed by @benhancockco on #42 --- src/components/datepicker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/datepicker.tsx b/src/components/datepicker.tsx index 6357004b..9490178f 100644 --- a/src/components/datepicker.tsx +++ b/src/components/datepicker.tsx @@ -344,7 +344,7 @@ class SemanticDatepicker extends React.Component< selectedDateFormatted, typedValue, } = this.state; - const { clearable, locale, pointing, filterDate } = this.props; + const { clearable, locale, pointing, filterDate, readOnly } = this.props; return (