From 0f91fb664acb756beb7688b81c1bb7ae6ace4678 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Can=20Y=C4=B1lmaz?=
<30300440+bariscanyilmaz@users.noreply.github.com>
Date: Mon, 20 Feb 2023 13:24:08 +0300
Subject: [PATCH] add checkbox labelClass input
---
.../src/lib/components/checkbox/checkbox.component.ts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.component.ts b/npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.component.ts
index 1e7e1ab972..3ead2f929d 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.component.ts
+++ b/npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.component.ts
@@ -16,7 +16,7 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
(blur)="onBlur.next()"
(focus)="onFocus.next()"
>
-
+
`,
providers: [
@@ -30,13 +30,14 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
export class FormCheckboxComponent extends AbstractNgModelComponent {
@Input() label?: string;
+ @Input() labelClass = 'form-check-label';
@Input() checkboxId!: string;
@Input() checkboxStyle = '';
@Input() checkboxClass = 'form-check-input';
@Input() checkboxReadonly = false;
@Output() onBlur = new EventEmitter();
@Output() onFocus = new EventEmitter();
-
+
constructor(injector: Injector) {
super(injector);
}