I am creating a visibility toggle section in react which contains various dropdown . The values of drop down are coming from an API and storing in local storage and binding them