Skip to content

Calling triggerTodaySelection throws error #5525

@wnvko

Description

@wnvko

Description

Calling triggerTodaySelection when date picker is collapsed throws TypeError:
Cannot set property 'viewDate' of undefined

  • igniteui-angular version: 8.1.0
  • browser: all

Steps to reproduce

  1. Start this StackBlitz sample.
  2. Click Today button.
  3. Observe the console

Result

ERROR Error: Cannot set property 'viewDate' of undefined
is logged in the console.

Expected result

No errors should be logged in the console.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions