@ctlyst.id/internal-ui 2.0.17 → 2.0.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1667,7 +1667,8 @@ const Datepicker = ({
1667
1667
  }
1668
1668
  return /*#__PURE__*/React__default.createElement(FormControl, {
1669
1669
  isRequired: isRequired,
1670
- "data-test-id": "CT_Component_datepicker_wrapper"
1670
+ "data-test-id": "CT_Component_datepicker_wrapper",
1671
+ isInvalid: isError
1671
1672
  }, label && /*#__PURE__*/React__default.createElement(FormLabel$1, {
1672
1673
  fontSize: "text.sm"
1673
1674
  }, label), /*#__PURE__*/React__default.createElement(InputGroup, null, component, /*#__PURE__*/React__default.createElement(InputRightElement, null, !value && /*#__PURE__*/React__default.createElement(FiCalendar, null), value && /*#__PURE__*/React__default.createElement(FiX, {