@@ -67,7 +67,7 @@ const validationChildren = {
67
67
} ;
68
68
const commonChildren = {
69
69
label : LabelControl ,
70
- placeholder : withDefault ( StringControl , trans ( ' date.placeholder' ) ) ,
70
+ placeholder : withDefault ( StringControl , trans ( " date.placeholder" ) ) ,
71
71
format : StringControl ,
72
72
disabled : BoolCodeControl ,
73
73
onEvent : eventHandlerControl ( EventOptions ) ,
@@ -78,12 +78,8 @@ const commonChildren = {
78
78
secondStep : RangeControl . closed ( 1 , 60 , 1 ) ,
79
79
style : styleControl ( InputFieldStyle ) ,
80
80
animationStyle : styleControl ( AnimationStyle ) ,
81
- labelStyle : styleControl (
82
- LabelStyle . filter (
83
- ( style ) => [ 'accent' , 'validate' ] . includes ( style . name ) === false
84
- )
85
- ) ,
86
- suffixIcon : withDefault ( IconControl , '/icon:regular/calendar' ) ,
81
+ labelStyle : styleControl ( LabelStyle . filter ( ( style ) => [ 'accent' , 'validate' ] . includes ( style . name ) === false ) ) ,
82
+ suffixIcon : withDefault ( IconControl , "/icon:regular/calendar" ) ,
87
83
...validationChildren ,
88
84
viewRef : RefControl < CommonPickerMethods > ,
89
85
inputFieldStyle : withDefault ( styleControl ( DateTimeStyle ) , defaultStyle ) ,
0 commit comments