From 4feca42ea6d3bd9045351a32e90864892985f57e Mon Sep 17 00:00:00 2001 From: Lars Olav Torvik Date: Mon, 10 Jun 2024 12:11:57 +0200 Subject: [PATCH] Add dropdownCaption if both fromDate and toDate is set --- .../src/components/datepicker/DatePicker.tsx | 8 +++++++- packages/shared-components/src/styles/form/select.ts | 3 --- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/shared-components/src/components/datepicker/DatePicker.tsx b/packages/shared-components/src/components/datepicker/DatePicker.tsx index db181bb5f..b438f9e30 100644 --- a/packages/shared-components/src/components/datepicker/DatePicker.tsx +++ b/packages/shared-components/src/components/datepicker/DatePicker.tsx @@ -72,7 +72,13 @@ const DatePicker = ({ }, [inputProps.value]); return ( - +