Skip to content

Commit 3656c64

Browse files
fix(date-time-picker-web): update label property and remove unused enum values
1 parent d502980 commit 3656c64

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/pluggableWidgets/date-time-picker-web/src/DateTimePicker.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@
5858
<caption>Show label</caption>
5959
<description />
6060
</property>
61-
<property key="label" type="expression" required="false">
61+
<property key="label" type="textTemplate" required="false">
6262
<caption>Label caption</caption>
6363
<description />
64-
<returnType type="String" />
6564
</property>
6665
</propertyGroup>
6766
<propertyGroup caption="Editability">
@@ -103,8 +102,6 @@
103102
<enumerationValues>
104103
<enumerationValue key="none">None</enumerationValue>
105104
<enumerationValue key="required">Required</enumerationValue>
106-
<enumerationValue key="future">Date in the future</enumerationValue>
107-
<enumerationValue key="past">Date in the past</enumerationValue>
108105
<enumerationValue key="custom">Custom</enumerationValue>
109106
</enumerationValues>
110107
</property>

packages/pluggableWidgets/date-time-picker-web/typings/DateTimePickerProps.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type EditableEnum = "default" | "never" | "conditionally";
1212

1313
export type ReadOnlyStyleEnum = "default" | "control" | "text";
1414

15-
export type ValidationTypeEnum = "none" | "required" | "future" | "past" | "custom";
15+
export type ValidationTypeEnum = "none" | "required" | "custom";
1616

1717
export interface DateTimePickerContainerProps {
1818
name: string;

0 commit comments

Comments
 (0)