Is it just me or is the lightning:inputField component missing the "New Record" option when it's rendered as a lookup?

Right now I have to type a value in the lookup field, hit enter, and wait for the pop-up window to open before I can see the option to create a new record.

This is a major bummer because:

  • either I have to use an external library such as Strike, which uses force:createRecord in its logic which is a problem of its own since a callback cannot be defined to prevent users from being redirected to the newly-created record page (i.e. doesn't work!),
  • or I have to create my own component mimicking a New Record UI, which I can't see an easy way of doing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.