Skip to content

Commit 3c1a94a

Browse files
Ivan KitanovIvan Kitanov
authored andcommitted
Removing unnecessary comments
1 parent 12db63e commit 3c1a94a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/date-range-picker/date-range-picker.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export default class IgcDateRangePickerComponent extends FormAssociatedRequiredM
264264
@property({ attribute: 'display-format', reflect: false })
265265
public set displayFormat(value: string) {
266266
this._displayFormat = value;
267-
//this.setFormats();
267+
this.setFormats();
268268
}
269269

270270
public get displayFormat(): string {
@@ -279,7 +279,7 @@ export default class IgcDateRangePickerComponent extends FormAssociatedRequiredM
279279
@property({ attribute: 'input-format', reflect: false })
280280
public set inputFormat(value: string) {
281281
this._inputFormat = value;
282-
//this.setFormats();
282+
this.setFormats();
283283
}
284284

285285
public get inputFormat(): string {
@@ -430,14 +430,10 @@ export default class IgcDateRangePickerComponent extends FormAssociatedRequiredM
430430
root.addEventListener('slotchange', () => {
431431
if (!this.singleInput) {
432432
this.setFormats();
433-
//this.setPrompt();
434433
this.setKeepOpenOnSelectForDialog();
435-
//this.setNonEditable();
436434
if (this.value) {
437435
this.updateInputValues();
438436
}
439-
//this.setDisabled();
440-
//this.setRequired();
441437
this.setDateConstraints();
442438
}
443439
this.requestUpdate();

0 commit comments

Comments
 (0)