keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

Feature Request: Option to preserve hidden conditional field values

Open couhajjou opened this issue 1 year ago • 0 comments

Currently, when changing a select field that controls conditional fields, any values in the hidden fields are erased when switching back and forth between options.

Current behavior:

  1. Field A is visible when select value is "option1"
  2. User fills Field A with data
  3. User changes select to "option2" (Field A becomes hidden)
  4. User changes select back to "option1"
  5. Field A is empty - previous data is lost

Desired behavior: Option to preserve field values when they become hidden due to conditional logic, similar to how some other CMS handle this

Use case: When editing content, users might need to switch between options to compare or review different configurations without losing their work in progress. Currently, they have to re-enter all data if they switch back.

couhajjou avatar Nov 08 '24 18:11 couhajjou