Standalone application material datepicker not working in other application

Discussão em 'Angular' iniciado por Johnathan Li, Novembro 29, 2024.

  1. Johnathan Li

    Johnathan Li Guest

    Getting Provider error while trying to use the angular material datepicker from zoneless angular custom element in other application.

    encounter error with provider not found.

    @Component({
    selector: 'app-form-field',
    standalone: true,
    imports: [FormsModule,ReactiveFormsModule, MatFormFieldModule,MatDatepickerModule, MatNativeDateModule,MatAutocompleteModule,MatIconModule,MatButtonModule,MatInputModule,MatSelectModule],
    templateUrl: './form-field.component.html',
    styleUrl: './form-field.component.scss',
    })

    Continue reading...

Compartilhe esta Página