Questions tagged [lightning-checkbox-group]
The lightning-checkbox-group tag has no usage guidance.
15
questions
1
vote
0
answers
105
views
How can I add functionality to a "Select All" Checkbox for a checkbox group on a Screen Flow?
I would like to checkbox group to have all values selected if the Select All checkbox is checked (and vice versa). Is this possible to make?
I have tried making the default value of the checkbox group ...
0
votes
1
answer
475
views
Fetching mulitiselect picklist values for <lightning-checkbox-group>
I'm using getPicklistValues to fetch the multiselect picklist values in LWC and using it for <lightning-checkbox-group>.
But it is not showing anything. And if I use same code for <lightning-...
1
vote
1
answer
871
views
How to uncheck all checked boxes in lightning-checkbox-group in lwc on button click?
I have a lwc checkbox group. I have a cancel button where I need to uncheck all the checkboxes. The checkbox group shows data correctly but my code is not working and nothing happens when I click the ...
0
votes
1
answer
2k
views
How to dynamically check all the checkboxes on a lightning-checkbox-group
I am trying to use a lightning-input checkbox to check/uncheck all the options on a lightning-checkbox-group but the querySelector keeps returning no values.
This is the HTML:
<lightning-input type=...
0
votes
1
answer
832
views
How to display lightning-checkbox-group with normal, not bold, label?
This is what I see:
This is the HTML code:
<div class="slds-grid">
<div class="slds-col slds-size_1-of-12">
<lightning-checkbox-group
name=&...
1
vote
1
answer
541
views
In LWC Model Popup save selected checkboxes in text field and hold selected values when refresh
model popup created.
but trying to save selected checkbox values in text field as comma separated
values(contacts title) not working
and once saved when we refresh the page and open the popup up it ...
0
votes
1
answer
291
views
Save checkbox group in LWC
how to save these selected checkbox group values into any text field as comma seperated values of account record using apex in lwc.
HTML:
<lightning-checkbox-group name="Checkbox Group"
...
0
votes
1
answer
609
views
lightning record Edit from on load for checkbox group in LWC
I am saving selected checkbox group values in a text field as a comma separated values, but when
page reloaded the check box group not displaying with selected values.
JS:
import { LightningElement,...
1
vote
1
answer
235
views
Salesforce Aura lightning:checkboxGroup
I have an existing Aura component that I need to add some help text to. I have a lightning:checkboxGroup that I need to add some help text to one of the options. The code is below. What I need to do ...
0
votes
0
answers
415
views
How do I get the label from a selected checkbox? [duplicate]
It's a lightning web component.
event.detail.label doesn't work and event.detail.value only gives me the value.
Can someone help please?
0
votes
1
answer
1k
views
Get name from Checkbox Group onchange event in Lightning Web Component
I currently have a checkbox group in a lightning web component and I have an onchange function setup to handle a selection. I have been reading the documentation, but can't find any information to ...
0
votes
1
answer
197
views
Add hyperlink to checkboxGroup
I'm using the <lightning:checkboxGroup /> aura component to display a list of files that can be selected and then deleted. All of this works fine. My question is if it is possible to make the ...
0
votes
2
answers
3k
views
lightning-checkbox-group display horizontally
currently, I'm passing in a options array to the options attribute of a lightning-checkbox-group. I need to mimic the behavior of that tag, but I need to do it in html because I don't think I can get ...
1
vote
1
answer
3k
views
How to determine if an option in lightning-checkbox-group in LWC is unchecked
How do I determine which checkbox in a lightning-checkbox-group is unchecked? I want to filter results based on selected checkbox.
I have tried using both lines below in the onchange event
...
0
votes
1
answer
1k
views
lwc lightning-checkbox-group - display checkboxes horizontally [duplicate]
Can I display the checkboxes horizontally using lightning-checkbox-group tag?
<lightning-checkbox-group
onchange={handleChange}
name={...