SPFX radio button click didn't update label value

g h 716 Reputation points
2021-02-11T09:02:14.407+00:00

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

66894-htmlcode.png

The eventhandler nor the function does not receive any onchange trigger:
66875-js.png

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
    2021-02-12T01:26:55.707+00:00

    Never Mind.

    Change to this:

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

0 additional answers

Sort by: Most helpful