Questions tagged [forceinputfield]
The forceinputfield tag has no usage guidance.
17 questions
0
votes
0
answers
30
views
switching from force:input to lightning:input causing styling and functionality errors
switching from force:input to lighting:input and have run into a few errors. first, my styling is off and I'm not sure why.
here's my code for these sections-
<div class="slds-grid">
...
0
votes
1
answer
512
views
How to dynamically set a lookup field for the force:inputField component
I am trying to set the value of a 'force:inputField' lookup field dynamically, but it is not working. On click of the edit button, the record edit page gets open, but the Account value does not get ...
1
vote
0
answers
1k
views
Quick Action Lightning Component Throws Error due to Opportunity__c lookup field for Platform User
I created a custom quick action lightning component. This component contains a form with a lookup field to an Opportunity (see simplified code below).
<aura:attribute name="config" type="...
0
votes
1
answer
324
views
force: inputfield is not working properly for lookup fields inside the aura:iteration
<td valign="top">
<force:inputField aura:id="lookup" value="{!v.conitem.CERM__Account__c}"/> <br/>
</td >
<td IconName="custom:custom17" valign="top">
...
0
votes
1
answer
75
views
force inputfield doesn't display fields anymore , can't figure out the reason?
I'm new to lightning code and this code worked for me on Friday but after the winter'19 releases it doesn't work anymore nothing shows up, Can you please help me with this I'm not sure if the Event ...
0
votes
0
answers
344
views
Rerender inputField on Lightning component (dependent picklist hack)
Is it possible to re-render an inputField in Lightning so that it re-fetches its values from the server (how we used to do it with VF)?
I am well aware of the limitations associated with picklists ...
1
vote
2
answers
5k
views
How to render Address fields in Lightning components?
Is there any way to display an address field such as Account.MailingAddress on a custom Lightning component? I am overriding the New Account button with a custom Lightning component and I want to let ...
0
votes
2
answers
125
views
Lookup field displays properly in Lightning App preview but not when component is added to page
I followed these steps to create a lookup field that works well in the Lightning App Preview. However, if I try to add this component to a page, the lookup field is no longer rendered at all.
<...
1
vote
2
answers
4k
views
how to clear value of force inputField in lightning?
I have a custom component that creates a new Task record. I use force inputField that is bound to a lookup field in Task.
I want to clear it's values if the user clicks cancel or save.
<div class=...
0
votes
0
answers
389
views
force:inputField displays in .app but not in .cmp
So I have multiple picklists I wish to dynamically display on my lightning component. But when it does not render at all on my component. I moved the code over to my .app and it displayed 100%.
Im ...
6
votes
0
answers
779
views
Lightning force:inputField with filter issue
I have a lightning component that uses the force:inputField element for a lookup. The lookup field has a filter applied to it. I have the filter field displayed on my component, but when I set the ...
2
votes
0
answers
326
views
force:inputField pick list not rendering properly
When i use force:inputField for pick list type fields the rendering of the values are not happening properly.
Code:
<div class="slds-form-element slds-hint-parent slds-has-divider--bottom">
...
0
votes
2
answers
4k
views
force:inputField "change" event not firing
I have the following line in my component:
<force:inputField aura:id="locationField" value="{!v.newCase.Location__c}" change="{!c.addressChanged}"/>
which creates an address selection field. ...
3
votes
0
answers
874
views
How do you apply Lightning Design System CSS Styling to force:inputField?
I'm trying to use force:inputField so that I can get the picklist values on a picklist field of a custom object. If I preview the "sampleCreateRecordApp.app" the force:inputField does not have CSS ...
8
votes
1
answer
3k
views
Does force:inputField support dependent picklists?
Let's say I have two picklists bound to force:inputField elements like so:
<force:inputField value='{!v.obj.Database__c}' aura:id='database'/>
<force:inputField value='{!v.obj....
4
votes
0
answers
1k
views
Lightning Components - <force:inputfield> Not working for certain field types?
Is force:inputfield not working for certain field types? I've put together a simple Lightning component I'm finding the following:
Picklists - Are rendered as disabled (this is an issue I'm aware of ...
4
votes
3
answers
6k
views
How do we pre-populate force:inputField in Lightning Component?
I'm trying to preset a Lookup field when my Lightning Component form loads, but the field is always showing as nothing selected, even though the value exists in the field itself.
The code looks like ...