- Notifications
You must be signed in to change notification settings - Fork3.6k
Angular - Abp form field component#23971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:dev
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
598f2a1ec2ced0086ccb2089a97b0d442ed31a0c0ba1388892d44ac9747c33de7ba609c8c8934File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -23,6 +23,7 @@ import { | ||||||
| } from '@angular/forms'; | ||||||
| import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; | ||||||
| import { LocalizationPipe } from '@abp/ng.core'; | ||||||
| import { CommonModule } from '@angular/common'; | ||||||
| const ABP_INPUT_CONTROL_VALUE_ACCESSOR = { | ||||||
| provide: NG_VALUE_ACCESSOR, | ||||||
| @@ -34,7 +35,7 @@ const ABP_INPUT_CONTROL_VALUE_ACCESSOR = { | ||||||
| selector: 'abp-input', | ||||||
| templateUrl: './abp-input.component.html', | ||||||
| changeDetection: ChangeDetectionStrategy.OnPush, | ||||||
| imports: [ReactiveFormsModule,CommonModule,LocalizationPipe], | ||||||
| exportAs: 'abpInput', | ||||||
| host: { | ||||||
| class: 'abp-input', | ||||||
| @@ -47,6 +48,7 @@ export class AbpInputComponent implements OnInit, ControlValueAccessor { | ||||||
| id = input<string>(''); | ||||||
| placeholder = input<string>(''); | ||||||
| hint = input<string>(''); | ||||||
| containerClass = input<string>('mb-3'); | ||||||
| control: FormControl; | ||||||
| readonly formBuilder = inject(FormBuilder); | ||||||
| readonly changeDetectorRef = inject(ChangeDetectorRef); | ||||||
| @@ -71,7 +73,6 @@ export class AbpInputComponent implements OnInit, ControlValueAccessor { | ||||||
| } | ||||||
| writeValue(value: any[]): void { | ||||||
| ||||||
| writeValue(value: any[]):void{ | |
| writeValue(value: any):void{ |