Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar: Shows null values when date is passed from iframe #12555

Closed
Kisters-BS opened this issue Jan 26, 2023 · 0 comments · Fixed by #12556
Closed

Calendar: Shows null values when date is passed from iframe #12555

Kisters-BS opened this issue Jan 26, 2023 · 0 comments · Fixed by #12556
Assignees
Labels
LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Kisters-BS
Copy link
Contributor

Describe the bug

The calendar component shows null values when date is passed from iframe as it uses instanceof to check if value is a date object.

Environment

See below.

Reproducer

No response

Angular version

15.1.0

PrimeNG version

15.1.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.19.0

Browser(s)

ALL

Steps to reproduce the behavior

  1. Embed Angular application into an iFrame
  2. Pass date into iframe
  3. Date does not get detected by instanceof so value is null

Expected behavior

Date should be correctly displayed

@Kisters-BS Kisters-BS added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 26, 2023
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 26, 2023
@cetincakiroglu cetincakiroglu added this to the 15.1.2 milestone Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants