From 3e8580a88730184d2f124e12a792b41ac3158dac Mon Sep 17 00:00:00 2001 From: Guido Zambarda Date: Sat, 17 Aug 2024 15:17:34 +0200 Subject: [PATCH 1/2] Updated typos --- .../docs/controls/PropertyFieldDateTimePicker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md b/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md index c2c12bde..0cee8f84 100644 --- a/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md +++ b/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md @@ -46,7 +46,7 @@ PropertyFieldDateTimePicker('datetime', { timeConvention: TimeConvention.Hours12, onPropertyChange: this.onPropertyPaneFieldChanged, properties: this.properties, - onGetErrorMessage: null, + onGetErrorMessage: undefined, deferredValidationTime: 0, key: 'dateTimeFieldId', showLabels: false @@ -61,7 +61,7 @@ The `PropertyFieldDateTimePicker` control can be configured with the following p | ---- | ---- | ---- | ---- | | label | string | yes | Property field label displayed on top. | | disabled | boolean | no | Specify if the control needs to be disabled. | -| initialData | IDateTimeFieldValue | yes | Initial date and time value of the control. | +| initialDate | IDateTimeFieldValue | yes | Initial date and time value of the control. | | formatData | function | no | Defines a formatDate function that can override the output value. | | dateConvention | DateConvention | no | Defines the date convention to use. By default this is set to date and time. | | timeConvention | TimeConvention | no | Defines the time convention to use. By default this is set to 24-hour clock convention. | From fab675b1f441a0b72b7f2f0cce7b01560aaf85f1 Mon Sep 17 00:00:00 2001 From: Guido Zambarda Date: Sun, 18 Aug 2024 09:16:28 +0200 Subject: [PATCH 2/2] Fixed small typo --- docs/documentation/docs/controls/PropertyFieldDateTimePicker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md b/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md index 0cee8f84..6b08c515 100644 --- a/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md +++ b/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md @@ -62,7 +62,7 @@ The `PropertyFieldDateTimePicker` control can be configured with the following p | label | string | yes | Property field label displayed on top. | | disabled | boolean | no | Specify if the control needs to be disabled. | | initialDate | IDateTimeFieldValue | yes | Initial date and time value of the control. | -| formatData | function | no | Defines a formatDate function that can override the output value. | +| formatDate | function | no | Defines a formatDate function that can override the output value. | | dateConvention | DateConvention | no | Defines the date convention to use. By default this is set to date and time. | | timeConvention | TimeConvention | no | Defines the time convention to use. By default this is set to 24-hour clock convention. | | onPropertyChange | function | yes | Defines a onPropertyChange function to raise when the date gets changed. |