From 68e748bf928f6f5b3b0097cbe4b4dc55234ab088 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 26 Aug 2021 14:01:01 +0300 Subject: [PATCH] Refactor #1477 --- api-generator/components/calendar.js | 6 ++++++ src/components/calendar/Calendar.d.ts | 1 + 2 files changed, 7 insertions(+) diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 509913fd1..b3d53d216 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -245,6 +245,12 @@ const CalendarProps = [ type: "any", default: "null", description: "Inline style of the component." + }, + { + name: "keepInvalid", + type: "boolean", + default: "false", + description: "Keep invalid value when input blur." } ]; diff --git a/src/components/calendar/Calendar.d.ts b/src/components/calendar/Calendar.d.ts index fed93b667..1f561db71 100755 --- a/src/components/calendar/Calendar.d.ts +++ b/src/components/calendar/Calendar.d.ts @@ -42,6 +42,7 @@ interface CalendarProps { inputClass?: string; style?: any; class?: string; + keepInvalid?: boolean; } declare class Calendar {