When I use the lightning:select component in classic context (with Lightning Out) it works fine. However, when in Lightning Experience context (added as a page element) it causes an 'internal error' without any meaningful message. This is the piece of code which causes the error:

<lightning:select aura:id="chargeType" value="{!v.chargeType}" label="Charge Type"> <option value="capture">Capture</option> <option value="open">Charge on Due-date</option> <option value="auth">Authorize</option> </lightning:select>

Any ideas? Thanks!

1 Answer 1


Don't know if it's why you have this error, but lightning:select has a name attribute that is required and that you're not setting. You can have a look to the doc here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .