Linked Questions

10
votes
4answers
8k views

How to use <force:inputField> and <force:outputField> inside an <aura:iteration>

Here @Peter describes a very cool way to use a <force:inputField ... /> together with <aura:attribute name="YourObjectType" type="YourObjectType" default="{ sobjectType: '...
10
votes
2answers
4k views

Lightning Components: why force:inputField picklist select renders disabled?

I originally came across this issue when reviewing the response to this question. There is also a similar question for lookup inputs. The force:inputField component is really useful for making an ...
7
votes
1answer
16k views

Aura : Input Select , Drop Down

Component Code : <aura:component controller="TestController" implements="forceCommunity:availableForAllPageTypes"> <aura:handler name="init" value="{!this}" action="{!c.doInit}" /> ...
1
vote
1answer
10k views

Lookup Field in Lightning

Is there a Lookup field renderer available in Lightning? Something like ui:LookupField. I am looking for something that will have the ability to search for a record. In Salesforce1, you get a popup ...
5
votes
1answer
2k views

How to populate picklist values in Lightning Componets according to the metadata definition?

In Visualforce, we didn't thought much about picklist-values (=options) on simple CRUD UIs - they where simply there using an <apex:inputField ... /> Now in Lightning I found this documentation ...
6
votes
1answer
3k views

What is the best way to debug Lightning Components (used in the Community Builder)?

I have a lightning component elfTest1 used on a page elf. The page itself is used as internal URL in the community builder wired via the menu. Now in case of a JavaScript error in elfTest1Controller....
7
votes
1answer
2k views

How to make numeric inputs Lightning Components respect corret L10N decimal delimiter?

Assume there is a Field aaaNumber__c on Account defined as Number(12,2) Now I use it like this <aura:component controller="elfL1" implements="forceCommunity:availableForAllPageTypes,force:...
0
votes
1answer
3k views

force:inputField error: AuraRuntimeException: Error Retrieving Field

I am getting the above error with this component, which is used as an action override on the Account object: <aura:component implements="lightning:actionOverride,force:hasRecordId,flexipage:...
1
vote
1answer
2k views

Unable to get value of String from Component to JS Controller

I have a custom object ToDoObj which has no fields ( I am using only the Name field from it) and I am trying to create a ToDo list type of functionality with this Object. Below is my code for ...
2
votes
1answer
2k views

apex:InputField Equivalent in Lightning framework

I am new to Lightning framework. I imported lightning design system files into the visualforce page. Now I wan to use apex:inputfield with lightning design. I don't want to use html tag because I ...
0
votes
1answer
959 views

force:inputField is not displaying inside a slds-modal dialog box; Lightning in Visualforce

I'm developing lightning components inside visualforce pages using slds styling. My requirement is to display a input look-up field inside a dialog box. Lightning Component: <aura:component> ...
-2
votes
2answers
784 views

Taking apex :outputfield in lightning in salesforce

How to convert visualforce in lightning in salesforce <apex:page controller="MyContactDetailController"> <apex:form > <apex:pageBlock > <apex:pageBlockSection > ...
3
votes
1answer
365 views

Is there a way in Lightning to get a dynamic input type like <apex:inputField /> in VF

In Visualforce I loved it not to think about types of input-fields and go instead totally blind with an <apex:inputField ... /> letting the platform bother if a field is a textfield, checkbox, ...
3
votes
0answers
136 views

force:inputfield does not render in lightning component [duplicate]

I am facing an issue in lightning where force:inputfield is not rendering at all. Here is the code: <aura:component implements="force:appHostable,force:lightningQuickActionWithoutHeader,force:...