You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The value of the datetime as a valid ISO 8601 datetime string.
1294
1294
*/
1295
-
'value'?: string;
1295
+
'value'?: string|null;
1296
1296
/**
1297
1297
* Values used to create the list of selectable years. By default the year values range between the `min` and `max` datetime inputs. However, to control exactly which years to display, the `yearValues` input can take a number, an array of numbers, or string of comma separated numbers. For example, to show upcoming and recent leap years, then this input's value would be `yearValues="2024,2020,2016,2012,2008"`.
* The value of the datetime as a valid ISO 8601 datetime string.
1388
1388
*/
1389
-
'value'?: string;
1389
+
'value'?: string|null;
1390
1390
/**
1391
1391
* Values used to create the list of selectable years. By default the year values range between the `min` and `max` datetime inputs. However, to control exactly which years to display, the `yearValues` input can take a number, an array of numbers, or string of comma separated numbers. For example, to show upcoming and recent leap years, then this input's value would be `yearValues="2024,2020,2016,2012,2008"`.
Copy file name to clipboardExpand all lines: core/src/components/datetime/readme.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,7 @@ dates in JavaScript.
224
224
|`pickerFormat`|`picker-format`| The format of the date and time picker columns the user selects. A datetime input can have one or many datetime parts, each getting their own column which allow individual selection of that particular datetime part. For example, year and month columns are two individually selectable columns which help choose an exact date from the datetime picker. Each column follows the string parse format. Defaults to use `displayFormat`. |`string \| undefined`|
225
225
|`pickerOptions`| -- | Any additional options that the picker interface can accept. See the [Picker API docs](../../picker/Picker) for the picker options. |`PickerOptions \| undefined`|
226
226
|`placeholder`|`placeholder`| The text to display when there's no date selected yet. Using lowercase to match the input attribute |`null \| string \| undefined`|
227
-
|`value`|`value`| The value of the datetime as a valid ISO 8601 datetime string. |`string \| undefined`|
227
+
|`value`|`value`| The value of the datetime as a valid ISO 8601 datetime string. |`null \| string \| undefined`|
228
228
|`yearValues`| -- | Values used to create the list of selectable years. By default the year values range between the `min` and `max` datetime inputs. However, to control exactly which years to display, the `yearValues` input can take a number, an array of numbers, or string of comma separated numbers. For example, to show upcoming and recent leap years, then this input's value would be `yearValues="2024,2020,2016,2012,2008"`. |`number \| number[] \| string \| undefined`|
0 commit comments