@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.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3119,6 +3119,9 @@ var Datepicker = ({
|
|
3119
3119
|
{
|
3120
3120
|
autoComplete: "off",
|
3121
3121
|
isError,
|
3122
|
+
onKeyPress: (e) => {
|
3123
|
+
if (props.selectsRange) e.preventDefault();
|
3124
|
+
},
|
3122
3125
|
addOnRight: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react20.InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
|
3123
3126
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_internal_icon6.Calendar, { size: 4, color: "neutral.400" }),
|
3124
3127
|
value && !props.disabled && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|