mardi 27 juillet 2021

how can I do to pass the value of my radiobutton to my chheckbox in angular?

I have 2 tables with the same service but I want that when pressing the radiobutton the checkbox of the table below is also marked How could I make that happen?

html

search Buscar Staff search Buscar

TS at the moment I only show the idPersona in a console.log ()

      handleSeleccionPersona = (checked, data) => {
       console.log("radio es:" + data['idPersona'])
        this.showme2 = !this.showme2
      }

enter image description here




Aucun commentaire:

Enregistrer un commentaire