Questions tagged [lightning-radiogroup]
The lightning-radiogroup tag has no usage guidance.
23
questions
-1
votes
0
answers
23
views
IS there any way to set the option of lightning-radio-group programmatically in js?
I wonder if there is a way to set the option in lightning-radio-group using this.template.querySelector and className\id or some other way?
I've been trying to change it using this code but it doesn't ...
-1
votes
0
answers
17
views
lightning-radio-group became uncheked
So I have these two lightning-radio-group elements with chosen by default value 'Delete' on the right and when I switch from one lightning tab to another the lightning-radio-group is no longer ...
0
votes
1
answer
27
views
How to place helptext next to a radio button?
This sounds trivial but I can't seem to place the helptext right besides the radio button field, if you check this demo you see there is a big gap.
I tried to use grids and custom padding but nothing ...
1
vote
0
answers
91
views
How can I align the radio buttons horizontally?
<lightning-radio-group name="radioGroup" label="Radio Group" options={shippingOptions} value={shippingValue} type="radio"></lightning-radio-group>
This ...
0
votes
1
answer
74
views
find method not working in lwc with lightning-radio object array
I am having problem with find method on an array of objects (options) being used for lighting-radio-group. My goal is to get the label of the option selected. Can you please let me know what I am ...
3
votes
1
answer
538
views
lightning-radio-group in LWC requires two clikcs
I have a radio-button-group in a Lightning Web Component that is being used in a modal. When I click on an option once, it only does the focus (blue circle around the button). Only on the second click ...
0
votes
0
answers
197
views
How to make lightning radio group buttons line up horizontally on iPhone?
Radio group buttons line up horizontally on Desktop, but vertically on iPhone.
Desktop:
|1|2|3|4|5|
iPhone:
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
HTML
<template>
&...
0
votes
1
answer
416
views
How can I select More than one option from different radio group buttons in LWC?
I want to select options from Radio buttons from different groups of buttons. I am only able to select only one option from all Radio button groups in the component.
in the above example, I want to ...
1
vote
1
answer
462
views
Condition to render different templates in LWC
I have a problem with a condition, in a LWC.
I have an array of addresses. If the array has only one element, I should display a radio button. If the array has more than 1 element, than I should ...
1
vote
1
answer
953
views
How to display radioGroup over multiple column
I have a lot of data to display in my radioGroup, so I would like to display it in multiple columns like this.
Unfortunately I'm getting some display errors.
Here is the code
<div class="...
1
vote
1
answer
2k
views
Iterating Radio Button Group
Trying to Iterate the object value in the Radio button group
Issue: When I select Force and Select Sales, Both button shows as selected. Expecting one should select on selection.
Note: Tried by by ...
0
votes
1
answer
1k
views
LWC - how to refresh radio button group after handleEvent & Submit button completed?
I have an LWC component that displays a radio button group - on selecting an option it displays a message as to what processing will happen when the Submit button is clicked. On clicking the button, ...
2
votes
1
answer
3k
views
My LWC radio button select is not working - not getting selection
I have a Lightning Web Component with a radio button group. If I select one, I need to capture the selection and conditionally display a div based on that selection. I can't seem to get it working - ...
0
votes
1
answer
646
views
Italicize subset of text in label of radioGroup
I am trying to hightlight part of the text in a radioGroup label. I can do this in a checkbox component using CSS.
<aura:attribute name="registrationOptions" type="List" default="[
{'label':...
0
votes
1
answer
23
views
Problem setting component attribute
I am having trouble doing a basic task of setting a component attribute in my controller. I define the attribute in the component, get the value of the radio button option selected & want to set ...
1
vote
0
answers
2k
views
How to style a lightning web component Radio button group
I'm having a radio group, and I need to customize it a bit, I want to remove the dott and keep only labels :
<lightning-radio-group class="myRadioGroup"
name="my radios"
options={...
2
votes
1
answer
3k
views
How to reset or deselect lightning-radio-group option
Once selected, radio buttons cannot be deselected. Is there a way to reset the lightning-radio-group component or deselect the selected option?
0
votes
3
answers
4k
views
Populate radio button options dynamically
I am trying to set a radio button's options dynamically. I'm first constructing a wrapper list in my first component and passing the list to another component where I'm displaying the values.
Apex ...
0
votes
1
answer
564
views
ui input radio button is not working
Hello all i am working on one requirement where i want to display table on the basis of my ui radio button selection but here once i select the radio button options then iam able to display the table ...
2
votes
1
answer
6k
views
Lightning Web Components - Radio button "checked" not retaining when navigating back and forth
I am not UI/UX person and I need help with setting radio button as checked when used in a LWC inner template-for-loop which involves page navigation and conditional rendering. I am able to get the ...
0
votes
1
answer
3k
views
How to have a Radio Group of Button Type with gap between each button
I would like to use a Radio Group of Button Type:
<lightning:radioGroup name="radioButtonGroup"
label="Radio Button Group"
options="{! v.options ...
2
votes
1
answer
1k
views
Lightning radio selector in iteration disappears when option selected in another row
I have created a Lightning component that allows users to dynamically create their desired number of records. I implemented a data table for this. In my third column, I asked users to select from two ...
3
votes
1
answer
2k
views
tabindex on lightning components
I recently added tabindex's to lightning components, I noticed that it doesnt really behave as desired. Example, I have the following form:
<lightning:select tabindex="1" .../>
<lightning:...