You need to sign in to do that
Don't have an account?
sandhya santhanagopalan
either or selection for checkbox and hide/show <div>on select of checkbox
Hello,
Please help me code and solve the below issues in lightning component and its js.
1.either or selection on 2 checkboxes
2.hide/show a div on uncheck/check of checkbox
Thanks.
Please help me code and solve the below issues in lightning component and its js.
1.either or selection on 2 checkboxes
2.hide/show a div on uncheck/check of checkbox
Thanks.
As per the link above i tried to replace input tag with ui inputcheckbox and it worked as expected!
if this is what you are trying to do and it solved your problem, please choose this as the best answer thank you!
All Answers
May I suggest you please check with below link from the stack overflow community with a similar issue which will point you in the right direction.
- https://stackoverflow.com/questions/18421082/show-hide-div-if-checkbox-selected
- https://stackoverflow.com/questions/40362236/hide-show-div-based-on-checkbox-selection
Hope this helps.Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra
If this help out please choose this as the best answer than you!
As per the link above i tried to replace input tag with ui inputcheckbox and it worked as expected!
if this is what you are trying to do and it solved your problem, please choose this as the best answer thank you!