Skip to content

Instantly share code, notes, and snippets.

@arun12209
Created February 9, 2023 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arun12209/ab8687a9fed6d3e4d5be2f56524c3343 to your computer and use it in GitHub Desktop.
Save arun12209/ab8687a9fed6d3e4d5be2f56524c3343 to your computer and use it in GitHub Desktop.
<template>
<lightning-card title="Contact" icon-name="standard:contact">
<div style="padding: 5px;">
<template if:true={contactFLS.FirstNameVisible}>
<lightning-input label="First Name" type="text" disabled={contactFLS.FirstNameDisabled}></lightning-input>
</template>
<template if:true={contactFLS.LastNameVisible}>
<lightning-input label="Last Name" type="text" disabled={contactFLS.LastNameDisabled}></lightning-input>
</template>
<template if:true={contactFLS.EmailVisible}>
<lightning-input label="Email" type="text" disabled={contactFLS.EmailDisabled}></lightning-input>
</template>
<template if:true={contactFLS.PhoneVisible}>
<lightning-input label="Phone" type="text" disabled={contactFLS.PhoneDisabled}></lightning-input>
</template>
</div>
</lightning-card>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment