File tree 1 file changed +2
-21
lines changed
projects/igniteui-angular/src/lib/time-picker
1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -130,16 +130,7 @@ export class IgxTimePickerComponent extends PickerBaseDirective
130
130
*
131
131
*/
132
132
@Input ( )
133
- public displayFormat : string
134
-
135
- if ( value && this . validateFormat ( value ) ) {
136
- this . _displayFormat = value ;
137
- }
138
- }
139
-
140
- public get displayFormat ( ) : string {
141
- return this . _displayFormat ;
142
- }
133
+ public displayFormat : string ;
143
134
144
135
/**
145
136
* The expected user input format and placeholder.
@@ -153,17 +144,7 @@ export class IgxTimePickerComponent extends PickerBaseDirective
153
144
* ```
154
145
*/
155
146
@Input ( )
156
- public set inputFormat ( value : string ) {
157
- this . _inputFormat = DateTimeUtil . DEFAULT_TIME_INPUT_FORMAT ;
158
-
159
- if ( value && this . validateFormat ( value ) ) {
160
- this . _inputFormat = value ;
161
- }
162
- }
163
-
164
- public get inputFormat ( ) : string {
165
- return this . _inputFormat ;
166
- }
147
+ public inputFormat : string = DateTimeUtil . DEFAULT_TIME_INPUT_FORMAT ;
167
148
168
149
/**
169
150
* Gets/Sets the interaction mode - dialog or drop down.
You can’t perform that action at this time.
0 commit comments