Correct me if I’m wrong but I would expect that the richselect to be set to the value of 1 (which is the original value set to the component configuration) instead of just erasing it.
Is this the expected behavior? If so, how could I make clear retrieve the original fields’ values?
Yes I could do that. But since I want this same behavior for all forms in may application, that would be a lot of work and difficult to maintain.
Perhaps, I can ‘proto’ a new form that would save the form values after it’s initialization and I could implement a custom ‘reset’ function. I just don’t know how to get this values after the form initialization.