Questions tagged [recordeditform]
Questions related to the lightning:recordEditForm lightning component.
29
questions
0
votes
1answer
35 views
How to display non-editable lookup in LWC lightning-record-edit
I am building a component using a lightning-record-edit-form, which may either display an existing record for edit, or a new record for create. The component will set the record-id appropriately. ...
0
votes
1answer
24 views
lightning:recordEditForm not submitting
Needing guidance on using a prebuilt lightning:recordeditform. I can't seem to get this to save the updates back to the record but can't see anything different when looking at similar solutions. Help ...
0
votes
2answers
26 views
How to get RecordEditForm Object Id
I have an Aura component and Im trying to retrieve the selected account id of this record edit form:
<lightning:recordEditForm objectApiName="Order">
<lightning:inputField aura:...
0
votes
1answer
14 views
EditRecordForm seems to be setting more fields that being defined on form
I am having a custom 'Clone SR' button which should be copying only certain elements from open case and creating a new case. For this, I have a component using recordData for fetching fields to be ...
0
votes
1answer
36 views
Lookup Control Breaks after Search
Seems there is a bug in the lightning lookup control. After using the search for more results:
and clicking on a value. The lookup stops responding and it is no longer possible to select any values. ...
0
votes
0answers
14 views
Identify Lightning RecordEditForm in Aura Iteration
I am using multiple Lightning Record Edit Forms in Aura Iteration and wish to uniquely identity the form when onerror is fired
1.Below is my Component.
<aura:iteration items="{!v.episodeList}&...
2
votes
0answers
30 views
Summer20 - recordEditForm issues
We are facing some issues with Summer20 releases. Does anybody face those issues?
Scrollbar is not visible on Edit(overridden component) screen - But with hard refresh its showing scrollbar(tried ...
2
votes
0answers
52 views
How to get picklist values and translations using Aura and Apex?
Background:
I was using a an aura lightning:recordEditForm containing a picklist field. This component will automatically detect user language and use the translations you have set for that field.
...
0
votes
1answer
226 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.
...
5
votes
2answers
556 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 ...
1
vote
0answers
88 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
763 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
56 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
502 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 ...
5
votes
1answer
2k 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
2k 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
2k views
How to create a recordEditForm with 2 columns? [closed]
Is there a way to do that? Thanks for your answers
0
votes
1answer
951 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
3k 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
2k 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?
...
5
votes
1answer
984 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
3k 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
1k 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
525 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
153 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
392 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
1k 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 '...
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" ...
2
votes
2answers
4k 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:...