Questions tagged [recordeditform]

Questions related to the lightning:recordEditForm lightning component.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

[PromiseRejection: [Error in $A.getCallback() [Cannot read property 'querySelectorAll' of null]]] [closed]

Getting this issue whenever i am submitting i am using recordEditForm in my component can anyone tell why this error is popping up although the functionality which is deigned is working
0
votes
1answer
29 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
92 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
27 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
681 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
814 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
799 views

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

Is there a way to do that? Thanks for your answers
0
votes
1answer
424 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
743 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
589 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
611 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
480 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
126 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
323 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
818 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
1k 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:...