@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.
@@ -1673,7 +1673,8 @@ const Datepicker = ({
1673
1673
  }
1674
1674
  return /*#__PURE__*/React__default.createElement(react.FormControl, {
1675
1675
  isRequired: isRequired,
1676
- "data-test-id": "CT_Component_datepicker_wrapper"
1676
+ "data-test-id": "CT_Component_datepicker_wrapper",
1677
+ isInvalid: isError
1677
1678
  }, label && /*#__PURE__*/React__default.createElement(react.FormLabel, {
1678
1679
  fontSize: "text.sm"
1679
1680
  }, label), /*#__PURE__*/React__default.createElement(react.InputGroup, null, component, /*#__PURE__*/React__default.createElement(react.InputRightElement, null, !value && /*#__PURE__*/React__default.createElement(fi.FiCalendar, null), value && /*#__PURE__*/React__default.createElement(fi.FiX, {