I have a Visualforce Lightning Out page that’s rendering some
<lightning:input type="date">
elements. Since the Winter ’19 release in the dev sandbox I’m working in, whenever I select a date from the calendar that appears when focusing the element, I get the following error:Uncaught TypeError: Cannot read property ‘$$OwnerKey$$’ of null throws at https://my–namespace–c.cs53.visual.force.com/auraFW/javascript/DKtn8n91I9aoLMj6o4CurQ/aura_prod.js:2:1559
Has anyone else seen this behavior? Is it a Winter ’19 bug? Is there any corresponding Known Issue?
Answer
Yes, this was a Winter ’19 bug, which has since been fixed in the Winter ’19 Patch 7.0.
The issue previously could be reproduced using the following steps:
- Create a lightning:recordForm component or a lightning:input component for entering a date.
- Edit the record, and select a new date.
These steps would result in the following error:
This page has an error. You might just need to refresh it. First, would you give us some details? (We’re reporting this as error ID: XXXXXXXXXX)
[Cannot read property ‘$$OwnerKey$$’ of null]
Attribution
Source : Link , Question Author : Steven Bateman , Answer Author : Grant Miller