-1
I have a class relating to another class in java, example: 1:1 address contributor
get with Postman on a collaborator:
{
"colaborador_id": 17,
"colaborador_nome": "TESTE TESTE",
"colaborador_data_nasci": "07/12/1983",
"colaborador_cpf": "333.333.333-33",
"colaborador_cnpj": " XX.XXX.XXX/YYYY-ZZ",
"colaborador_rg": "33.333.333-3",
"colaborador_email": "[email protected]",
"colaborador_celular": "13 991463333",
"colaborador_telefone": "13 35353535",
"colaborador_tipo_contratacao": "CLT",
"endereco": {
"endereco_id": 18,
"endereco_rua": "Avenida TESTE",
"endereco_numero": "100",
"endereco_complemento": "Ap 100",
"endereco_cep": "11702-400",
"endereco_bairro": "Morumbi",
"endereco_cidade": "São Paulo",
"endereco_estado": "SP"
}
}
however at the angle I would like to edit on the screen, but the part of the address "Object within contributor" I am not getting
<div class="form-group">
<label for="endereco_rua">endereco_rua: </label>
<input type="text" formControlName="endereco_rua" name="endereco_rua"
class="col-lg-6" id="endereco_rua">
</div>
Any collaborator item I can now change the address items that are within contributor I can’t change...