Salesforce
CRT-450 · Question #53
A developer must create a lightning component that allows users to input contact record information to create a contact record, including a salary__c custom field. what should the developer use…
The correct answer is A. <ligthning-input-field field-name="Salary__c">. See the full explanation below for the reasoning.
Question
A developer must create a lightning component that allows users to input contact record information to create a contact record, including a salary__c custom field. what should the developer use, along with a lightning-record-edit form, so that salary__c field functions as a currency input and is only viewable and editable by users that have the correct field levelpermissions on salary__C?
Options
- A<ligthning-input-field field-name="Salary__c">
- B<lightning-formatted-number value="Salary__c" format-style="currency"> </lightning-formatted-
- C<lightning-input type="number" value="Salary__c" formatter="currency"> </lightning-input>
- D<lightning-input-currency value="Salary__c">
How the community answered
(32 responses)- A84% (27)
- B3% (1)
- C9% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.