@@ -29,24 +29,25 @@ The component will not assign a date value until a specific date is selected in
2929
3030<h3 id =" props " >Props</h3 >
3131
32- | Prop | Type | Description |
33- | :----------------------- | :-------------------------------------------- | :------------------------------------------------------------ |
34- | ` value ` | Date \| null | Date value |
35- | ` min ` | Date | The earliest value the user can select |
36- | ` max ` | Date | The latest value the user can select |
37- | ` placeholder ` | string | Placeholder used when date value is null |
38- | ` timePrecision ` | "minute" \| "second" \| "millisecond" \| null | Show a time picker with the specified precision |
39- | ` id ` | string \| null | Set the input element's ID attribute |
40- | ` valid ` | bool | Whether the text is valid |
41- | ` format ` | string | Format string |
42- | ` visible ` | bool | Whether the date popup is visible |
43- | ` disabled ` | bool | Disable the input |
44- | ` required ` | bool | Require a value to submit form |
45- | ` closeOnSelection ` | bool | Close the date popup when a date is selected |
46- | ` browseWithoutSelecting ` | bool | Wait with updating the date until a value is selected |
47- | ` dynamicPositioning ` | bool | Dynamically postions the date popup to best fit on the screen |
48- | ` locale ` | Locale | Locale object for internationalization |
49- | ` isDisabledDate ` | ((dateToCheck: Date) => boolean) \| null | Disallow specific dates |
32+ | Prop | Type | Description |
33+ | :----------------------- | :-------------------------------------------- | :------------------------------------------------------------- |
34+ | ` value ` | Date \| null | Date value |
35+ | ` initialBrowseDate ` | Date | Initial date to show in the calendar when no value is selected |
36+ | ` min ` | Date | The earliest value the user can select |
37+ | ` max ` | Date | The latest value the user can select |
38+ | ` placeholder ` | string | Placeholder used when date value is null |
39+ | ` timePrecision ` | "minute" \| "second" \| "millisecond" \| null | Show a time picker with the specified precision |
40+ | ` id ` | string \| null | Set the input element's ID attribute |
41+ | ` valid ` | bool | Whether the text is valid |
42+ | ` format ` | string | Format string |
43+ | ` visible ` | bool | Whether the date popup is visible |
44+ | ` disabled ` | bool | Disable the input |
45+ | ` required ` | bool | Require a value to submit form |
46+ | ` closeOnSelection ` | bool | Close the date popup when a date is selected |
47+ | ` browseWithoutSelecting ` | bool | Wait with updating the date until a value is selected |
48+ | ` dynamicPositioning ` | bool | Dynamically postions the date popup to best fit on the screen |
49+ | ` locale ` | Locale | Locale object for internationalization |
50+ | ` isDisabledDate ` | ((dateToCheck: Date) => boolean) \| null | Disallow specific dates |
5051
5152<h4 id =" format-string " >Format string</h4 >
5253
@@ -69,15 +70,16 @@ The component will not assign a date value until a specific date is selected in
6970
7071<h3 id =" datepicker-props " >Props</h3 >
7172
72- | Prop | Type | Description |
73- | :----------------------- | :-------------------------------------------- | :--------------------------------------------------- |
74- | ` value ` | Date \| null | Date value |
75- | ` min ` | Date | The earliest year the user can select |
76- | ` max ` | Date | The latest year the user can select |
77- | ` timePrecision ` | "minute" \| "second" \| "millisecond" \| null | Show a time picker with the specified precision |
78- | ` locale ` | Locale | Locale object for internationalization |
79- | ` browseWithoutSelecting ` | bool | Wait with updating the date until a date is selected |
80- | ` isDisabledDate ` | ((dateToCheck: Date) => boolean) \| null | Disallow specific dates |
73+ | Prop | Type | Description |
74+ | :----------------------- | :-------------------------------------------- | :------------------------------------------------------------- |
75+ | ` value ` | Date \| null | Date value |
76+ | ` initialBrowseDate ` | Date | Initial date to show in the calendar when no value is selected |
77+ | ` min ` | Date | The earliest year the user can select |
78+ | ` max ` | Date | The latest year the user can select |
79+ | ` timePrecision ` | "minute" \| "second" \| "millisecond" \| null | Show a time picker with the specified precision |
80+ | ` locale ` | Locale | Locale object for internationalization |
81+ | ` browseWithoutSelecting ` | bool | Wait with updating the date until a date is selected |
82+ | ` isDisabledDate ` | ((dateToCheck: Date) => boolean) \| null | Disallow specific dates |
8183
8284<h2 id =" isDisabledDate " >Date disabling example</h2 >
8385
0 commit comments