function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sachin30Sachin30 

cannot read property color of undefined

Hi

I have created a lightning component in which I have added two lookup fields using <lightning:recordeditform> and <lightning:inputfield>. The component shows up as model box when a button is clicked on lightning record detail page.

Whenever the component shows up and the lookup field is blank, on selecting the lookup field throws error:

"cannot read property "color" of undefined

Please let me know if anybody has experienced similar error and able to resolve it.

TIA