2

Is there any way to change Owner of case using Lightning record edit form?

I Want to use OwnerId Field only. When I use

<lightning:inputField variant="label-hidden" fieldName="OwnerId" autocomplete="off"/>

it comes fixed in form and can't be changed.

  • use a quick action to change the owner of the case. – sanket kumar Apr 24 at 12:33
  • chatter is enabled on case ,so quick action launched component comes inside chatter – Kushal Chauhan Apr 24 at 13:00
  • and need component because of some other requirements – Kushal Chauhan Apr 24 at 13:07
2

OwnerId is not supported by lightning:inputField.

The Owner, CreatedBy, and LastModifiedBy fields are not supported for lookups.

You will need to utilize other approach here to be able to update this field.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.