Valid Plat-Dev-301 Dumps shared by EduDump.com for Helping Passing Plat-Dev-301 Exam! EduDump.com now offer the newest Plat-Dev-301 exam dumps, the EduDump.com Plat-Dev-301 exam questions have been updated and answers have been corrected get the newest EduDump.com Plat-Dev-301 dumps with Test Engine here:
A developer is tasked with creating a Lightning web component that allows users to create a Case for a selected product, directly from a custom Lightning page. The input fields in the component are displayed in a non-linear fashion on top of an image of the product to help the user better understand the meaning of the fields. Which two components should a developer use to implement the creation of the Case from the Lightning web component? Choose 2 answers
Correct Answer: C,D
To implement a Lightning web component that allows users to create a Case, you would need components that allow for input fields and the creation of records. Option C (Lightning-input) is correct because it allows developers to create custom form input elements that can be positioned in a non-linear fashion as required. Option D (lightning-record-form) is correct because it provides a simple way to create forms for viewing and editing Salesforce records and would be suitable for creating a new Case record. Option A (Lightning-record-edit-form) is not a valid component; it seems to be a misprint of lightning-record-edit-form, which is indeed a component used for creating and editing records but was not listed as an option. Option B (lightning-input-field) is used within the lightning-record-edit-form or lightning-record-view-form components to create editable or displayable fields respectively, but is not as versatile as lightning-input for custom layout purposes. Lightning Web Components Documentation: Lightning-input