Browse Source
Merge pull request #16133 from abpframework/fix/16114
form-input & checkbox component's style property type changed
pull/16149/head
Masum ULU
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
12 additions and
2 deletions
-
npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.component.ts
-
npm/ng-packs/packages/theme-shared/src/lib/components/form-input/form-input.component.ts
|
|
|
@ -33,7 +33,12 @@ export class FormCheckboxComponent extends AbstractNgModelComponent { |
|
|
|
@Input() label?: string; |
|
|
|
@Input() labelClass = 'form-check-label'; |
|
|
|
@Input() checkboxId!: string; |
|
|
|
@Input() checkboxStyle = ''; |
|
|
|
@Input() checkboxStyle: |
|
|
|
| { |
|
|
|
[klass: string]: any; |
|
|
|
} |
|
|
|
| null |
|
|
|
| undefined; |
|
|
|
@Input() checkboxClass = 'form-check-input'; |
|
|
|
@Input() checkboxReadonly = false; |
|
|
|
@Output() checkboxBlur = new EventEmitter<void>(); |
|
|
|
|
|
|
|
@ -37,7 +37,12 @@ export class FormInputComponent extends AbstractNgModelComponent { |
|
|
|
@Input() labelClass = 'form-label'; |
|
|
|
@Input() inputPlaceholder = ''; |
|
|
|
@Input() inputType = 'text'; |
|
|
|
@Input() inputStyle = ''; |
|
|
|
@Input() inputStyle: |
|
|
|
| { |
|
|
|
[klass: string]: any; |
|
|
|
} |
|
|
|
| null |
|
|
|
| undefined; |
|
|
|
@Input() inputClass = 'form-control'; |
|
|
|
@Output() formBlur = new EventEmitter<void>(); |
|
|
|
@Output() formFocus = new EventEmitter<void>(); |
|
|
|
|