+ Start a Discussion

cannot read property color of undefined


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.