@ctlyst.id/internal-ui 4.1.2 → 4.1.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -2772,6 +2772,9 @@ var Datepicker = ({
2772
2772
  {
2773
2773
  autoComplete: "off",
2774
2774
  isError,
2775
+ onKeyPress: (e) => {
2776
+ if (props.selectsRange) e.preventDefault();
2777
+ },
2775
2778
  addOnRight: /* @__PURE__ */ jsxs10(InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
2776
2779
  /* @__PURE__ */ jsx27(Calendar, { size: 4, color: "neutral.400" }),
2777
2780
  value && !props.disabled && /* @__PURE__ */ jsx27(