mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(forms): Form provider FormsModule.withConfig return a FormsModule (#48526)
Because of a transitive dependency, FormsModule.withConfig wasn't providing FormModule. fixes: #48519 PR Close #48526
This commit is contained in:
committed by
Alex Rickabaugh
parent
b9577adeb2
commit
bdf288dcbf
@@ -38,7 +38,7 @@ export class FormsModule {
|
||||
*/
|
||||
static withConfig(opts: {
|
||||
callSetDisabledState?: SetDisabledStateOption,
|
||||
}): ModuleWithProviders<ReactiveFormsModule> {
|
||||
}): ModuleWithProviders<FormsModule> {
|
||||
return {
|
||||
ngModule: FormsModule,
|
||||
providers: [{
|
||||
|
||||
Reference in New Issue
Block a user