sentry icon indicating copy to clipboard operation
sentry copied to clipboard

feat(forms): Allow form fields to be deleted and preserve value

Open scttcper opened this issue 7 months ago • 0 comments

Right now if you want to preserve the value when adding and removing fields you would need to store the value outside the form model which defeats the purpose of the form model if you need another source of truth.

Adding preserveOnUnmount will help us use the form model in detectors. In the below video, we'd like to be able to preserve the model's value when switching between detector types.

https://github.com/user-attachments/assets/dd512ddb-9e55-449f-a5cd-0f244e747034

scttcper avatar Jun 13 '25 21:06 scttcper