State Auto Recycle
Inside the form, when the component is destroyed, the state of the component can be automatically recycled.
If your component is not inside the form, you can use the clearWhenDestroy
property to automatically clean up the data when the component is destroyed.
In other cases, the destruction of the component does not trigger the clearing of the value.