diff --git a/docs/next/datepickerios.html b/docs/next/datepickerios.html index 123854e88b0..d2c081c296e 100644 --- a/docs/next/datepickerios.html +++ b/docs/next/datepickerios.html @@ -107,12 +107,14 @@
dateonDateChangeinitialDatelocalemaximumDateminimumDateminuteIntervalmodelocaleonChangeonDateChangetimeZoneOffsetInMinutesonChangeDate change handler.
+This is called when the user changes the date or time in the UI. +The first and only argument is an Event. For getting the date the picker +was changed to, use onDateChange instead.
+| Type | Required |
|---|---|
| function | No |
onDateChangeDate change handler.
This is called when the user changes the date or time in the UI. The first and only argument is a Date object representing the new date and time.
@@ -215,6 +231,22 @@initialDateProvides an initial value that will change when the user starts selecting +a date. It is useful for simple use-cases where you do not want to deal +with listening to events and updating the date prop to keep the +controlled state in sync. The controlled state has known bugs which +causes it to go out of sync with native. The initialDate prop is intended +to allow you to have native be source of truth.
+| Type | Required |
|---|---|
| Date | No |