Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Aug 8, 2024
1 parent ad5b63e commit 2929519
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
10 changes: 1 addition & 9 deletions src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,15 +880,7 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr
return typeof this.modelValue() === 'string' && this.optionValue;
}

constructor(
@Inject(DOCUMENT) private document: Document,
public el: ElementRef,
public renderer: Renderer2,
public cd: ChangeDetectorRef,
public config: PrimeNGConfig,
public overlayService: OverlayService,
private zone: NgZone
) {
constructor(@Inject(DOCUMENT) private document: Document, public el: ElementRef, public renderer: Renderer2, public cd: ChangeDetectorRef, public config: PrimeNGConfig, public overlayService: OverlayService, private zone: NgZone) {
effect(() => {
this.filled = ObjectUtils.isNotEmpty(this.modelValue());
});
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/colorpicker/colorpicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class ColorPicker implements ControlValueAccessor, OnDestroy {
}

setTimeout(() => {
this.updateColorSelector();
this.updateColorSelector();
this.updateUI();
this.cd.markForCheck();
});
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/listbox/listbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,8 @@ export class Listbox implements AfterContentInit, OnInit, ControlValueAccessor,

!this.virtualScrollerDisabled && this.scroller.scrollToIndex(0);
}
onFilterFocus(event: FocusEvent){

onFilterFocus(event: FocusEvent) {
this.wrapperViewChild.nativeElement.tabIndex = '-1';
}

Expand Down

0 comments on commit 2929519

Please sign in to comment.