handleInputChangeDom = (event) => { const target = event.target; var value = target.value; const Address_type = this.state.Address_type; if (event.target.checked) { Address_type.push(event.target.value); } else { let index = Address_type.indexOf(event.target.value); Address_type.splice(index, 1); } this.setState({ Address_type: Address_type, }); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)