Hello, what happens is that I have a custom component that is a slider, this component has a dropdown in the part of the component configuration in authoring (cq:dialog) that allows the user to select 1 of the 3 variations of the slider.
But what happens is that if the user selects for example the variation 2, add the configuration (image, text, etc) and saves it the component show the configuration that the user add, but if the user returns to the authoring mode of the component and selects the variation 1 can enter the information again but the information of the variation 2 remains saved in the cq:dialog although it's not used.
Is there any way that when my user selects another dropdown option the settings of the other variations are removed?