File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/components/date-range-picker Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments