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 {