You need to sign in to do that
Don't have an account?
teena jacob
How to make an input field appear upon selection of radio button in salesforce lightning component
Hi,
I need to display fields based only on the radio button selected.
Say there are 2 radio buttons and two Text fields if radiobutton1 is selected it must show field1 and radiobutton2 is selected it must show field2.
How to achieve this scenario in the lightning component.
I need to display fields based only on the radio button selected.
Say there are 2 radio buttons and two Text fields if radiobutton1 is selected it must show field1 and radiobutton2 is selected it must show field2.
How to achieve this scenario in the lightning component.
let us know if it helps you
All Answers
let us know if it helps you
The code is working but I need to use inside Popup Box In Lightning. Its throwing error fails to save the file.
That was an error with the bundle version.Its resolved.
I try to get the text field value in the controller on the Submit button click. component.find('ds').getElement('v.value').value
Im not able to rteive vale from the component.
//component
<button class="slds-button slds-button--neutral" onclick="{!c.clickproxy}">Submit</button>
//controller
clickproxy :function(component,event,helper){
console.log('khfujhzgfbujdf function');
var val = component.find('ds').getElement('v.value').value;
console.log(val);
var val1 = component.find('tm').getElement('v.value').value;
console.log(val1);
}
use component.find('auraId').get("v.value");
Thanks, let us know if it helps
It works thank you!