Skip to content

Bug: Unable to change month and first click isn't registered when directive uses formControlName for Angular 15 #618

@mwgriffiths88

Description

@mwgriffiths88

I'm using Angular 15, and I have a control that looks like this:

<form [formGroup]="form">
  <input
    formControlName="datetime"
    [dpDayPicker]="config"
    mode="daytime"
    theme="dp-material dp-main" />
</form>

There are two symptoms (seems to be across all browsers):

  • The first click is never made when the picker opens for the first time.
  • Unable to change the month.

https://stackblitz.com/edit/angular-ivy-fayr91?file=src/app/hello.component.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions