this.removeValueType(name, idx)}
onChange={(name: string, type: string, value: string) => (
this.handleValueTypeChange(name, idx, {type, value})
)}
/>
))}
IMPP
this.addValueType('impp', 'jabber')}
tooltip="Add impp address"
>
{this.state.impp.map((x, idx) => (
this.removeValueType(name, idx)}
onChange={(name: string, type: string, value: string) => (
this.handleValueTypeChange(name, idx, {type, value})
)}
/>
))}
Addresses
this.addValueType('address')}
tooltip="Add address"
>
{this.state.address.map((x, idx) => (
this.removeValueType(name, idx)}
onChange={(name: string, type: string, value: string) => (
this.handleValueTypeChange(name, idx, {type, value})
)}
/>
))}
Not all types are supported at the moment. If you are editing a contact,
the unsupported types will be copied as is.