When switching variables, the component instance resets to the default item. How should I adjust it so that the icon and text are retained during the switch?
When switching variables, the component instance resets to the default item. How should I adjust it so that the icon and text are retained during the switch?
When I switch variables, the component instance resets to the default item. I hope that when switching variables, only the component size is changed, and the icons and text called by the component instance are retained. How should I adjust this?
However, I found that if the component instance is separated, the component instance can be retained when switching variables.
Has anyone else encountered the same problem? And are there any known solutions?