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
parent
commit
ac8bb61be8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.component.ts
  2. 7
      npm/ng-packs/packages/theme-shared/src/lib/components/form-input/form-input.component.ts

7
npm/ng-packs/packages/theme-shared/src/lib/components/checkbox/checkbox.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>();

7
npm/ng-packs/packages/theme-shared/src/lib/components/form-input/form-input.component.ts

@ -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>();

Loading…
Cancel
Save