SPFX radio button click didn't update label value

g h 716 Reputation points

Here is a radio button within the render() method:


The eventhandler nor the function does not receive any onchange trigger:

Any help on this ?

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,591 questions
0 comments No comments
{count} votes

Accepted answer
  1. g h 716 Reputation points

    Never Mind.

    Change to this:

    this.domElement.querySelector('input#idSubscriptionption').addEventListener('click', () => { handleClick(); });    

0 additional answers

Sort by: Most helpful