JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Buttons › Changing state on button's label click › Reply To: Changing state on button's label click
February 5, 2019 at 10:00 am
#99568
admin
Keymaster
Hi pcng618,
smart-radio-button has enableContainerClick property for this purpose.
It allows clicks on the label to be handled the same way as clicks on the radio button’s shape.
Here is a demo:
<smart-radio-button enable-container-click>Radio button 1</smart-radio-button>
<smart-radio-button enable-container-click>Radio button 2</smart-radio-button>
Best Regards,
Ivailo Ivanov
Smart HTML Elements Team
https://www.htmlelements.com