Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [recordeditform]

Questions related to the lightning:recordEditForm lightning component.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

How to get fieldName when inputfield updated

I'm using lightning:recordEditForm and lightning:inputField. I know that event.getParam('change') return updated value. but I want to get fieldName of inputField which is updated. thank you. ...
3
votes
2answers
70 views

recordEditForm not loading related record via lookup

I have the exact same component in 2 different sandboxes. The component uses lightning:recordEditForm and is passed an object name & Id. There is a lookup field to the Account object that is ...
0
votes
0answers
22 views

Duplicate Rule Bypass with RecordEditForm in Lightning

I am struggling with figuring out how to pass dml.DuplicateRuleHeader.allowSave = true; in Apex on a Lightning RecordEditForm component. I am using RecordEditForm as a record creation form and ...
-1
votes
1answer
34 views

Save multiple RecordEditForm in lighting component

I am trying to create a lighting component to save multiple records using a single click. So, I am using lighting recordEditForm in aura:iterate. Here is code but I cannot save the data. <aura:...
0
votes
1answer
32 views

Is it possible to edit lightning:inputField ui attributes via recordUi?

I need to make the Name field required on the lightning:recordEditForm. So I tried its onload event and recordUi parameter. But it didn't work. So I am wondering if it's even possible with recordUi? ...
0
votes
2answers
123 views

Align vertical label of lightning:inputField in large screen

I have a problem with lightning:inputField, in my page I have a mix of lighting:input and lightning:inputField. When I dispaly inputField in large screen, the label is horizontally aligned with the ...
0
votes
0answers
35 views

Retain previously entered lookup values in a Flow

Was wondering if there is a way to save a previously entered lookup value in a flow? i want to give my users the ability to click previous and still have the value they just looked up be there. It ...
5
votes
1answer
882 views

lightning:recordEditForm issues onload and onsubmit function

I am frustrated with lightning:recordEditForm. Here is the description of the issue: Problem statement: I want to have a form where user can select fields of a custom object "Opportunity_Product__c"...
0
votes
1answer
975 views

record:editform for input lookup field pop up search option is not working

I have created a a lightning component record edit form in VF, which has a input lookup field for custom object named Heading. In the lightning component when I search for a Heading name, it will ...
0
votes
1answer
995 views

How to create a recordEditForm with 2 columns? [closed]

Is there a way to do that? Thanks for your answers
0
votes
1answer
510 views

<lighting:inputField> disabled in a custom Lightning component when using standard lookup

I am trying to understand why the ownerid field shows up as an uneditable field <lightning:recordEditForm aura:id="recordViewForm" objectApiName="Case" ...
0
votes
1answer
2k views

How to get record Id from Lightning record edit form on record insert [duplicate]

I have a requirement where I am making use of lightning:recordEditForm to create a new record. I am using standard save functionality. After successful save of record I need to make use of the record ...
1
vote
1answer
897 views

Set custom placeholder in lightning:recordEditForm

I have a form in Lightning Components written using lightning:recordEditForm. Inside that form I have lightning:inputField which is a lookup. Is it possible to set a custom placeholder in this input? ...
4
votes
1answer
662 views

Not able to set value for Lightning:inputField field if it's manually modified from UI

I am facing issue with Lightning:inputField with lightning:recordEditForm that when I am trying to programatically change the value of any field I am able to do only if user is not modifying that ...
2
votes
1answer
2k views

RecordEditForm: Reset inputfield after successful submit

I have a Lightning RecordEditForm on a page that I'd like use multiple times. After a successful submit I want to clear the user's entries to allow the form to be reused. I have been unsuccessful at ...
2
votes
1answer
693 views

Does lightning:recordEditForm work for more then one object?

I am building the form where I have 1-n object structure. For a sake of simplicity lets say I have an Invoice__c Custom Object and Item__c. If its only Invoice__c, it would be <lightning:...
4
votes
0answers
494 views

lightning:recordEditForm - MS Edge issues

Brief: I have a container component that overrides the View Action of a custom object in Lightning Experience. The container component contains a component that renders a list of related records and ...
2
votes
0answers
132 views

lightning:inputField won't save null value into numeric field

I use lightning:inputField for a numeric field inside the lightning:recordEditForm. When a user tries to delete a number from that field, it shows a validation error "cannot be parsed as a number, ...
2
votes
0answers
335 views

lightning:recordEditForm basically 'Dies' during random situations

I have a child object "Campaign Child" under the Campaign object. They have a master-detail relationship. I use lightning:recordEditForm to override the standard "New" button on the "Campaign ...
1
vote
1answer
928 views

Does lightning:recordEditForm support custom setting records?

I tried to use lightning:recordEditForm to create a new custom setting record but I received an error saying Error in fetching record or record metadata. [Unexpected Error when retrieving '...
1
vote
1answer
1k views

Can't set the value of a lightning:inputField for a field of type User

I'm trying to set a default value on a lightning:inputField component. The fieldName references a User value. This is the code: <lightning:recordEditForm aura:id="recordEditForm" objectApiName="...
3
votes
1answer
2k views

Custom field validation using lightning:recordEditForm

how can we do custom validation on fields in recordEditForm component (using inputfield) and stop the record getting saved. Sample Code: --cmp- <lightning:recordEditForm aura:id="editLineItem" ...
1
vote
2answers
2k views

lighting:recordEditForm error Cannot read property 'defaultRecordTypeId' of undefined

I have simple lightning component that is using lighting:recordEditForm and input fields on Quote object. This quote object is custom, as CPQ is implemented in the system. Component <aura:...