I have a issue about toggle my togle like this
When i click on each plus, api generate child data from parent. Like a cascade dropdown, but i want to toggle all with a button.
When i try it, my toggle just open two levels, not affect every level.
I dont know why this happens.
Let me explain how the toggle button should work:
When i click a expand button, all first/parent elements send a request to my api. Im watching "firstdata parameter" inside a component request, sending to api, then all data comes from my api and filling related variables.
Then i have second state variable for trigging child/sub levels.
I'm set next level status variable to
true when the request is done.
Next component inside watch this variable for requests but this is not working properly.
Im sorry for bad english i hope i could tell my problem