I have 3 toggle list, and each data for checked value (true or false) is coming from api.
My code looks like this, but when clicking on each toggle it doesn’t chance state, stays active.
Anyone can help pls?
Sorry but still cannot access it: nifty-rubin-thm7b4
here is my code, my data come from api, so when user clicks on one toggle i’d like to create a body object and then send it to api to update state (but no problem for this one),
just pls check my code and tell me what’0s wrong, thanks.
for example if user check only “delivery”, i need to put to rest-api only delivery state (true or false) not all 3 toggles data. hope it’s clear