I have a response from an api which comes as an object. I have to populate them in a toggle for the different values. This has to happen on the onChange method. For example if t