Skip to content

Option to Save Value of Conditional Field. #7475

@BrookeDot

Description

@BrookeDot

Problem to Solve

Conditional fields are great. However, when the parent conditional value is set to "false" all child fields get reset.

In my use case I have a conditional banner. In the Pods option page I have:

  • Show Banner (yes/no)
  • Banner contents (as a conditional of show banner)

If show Banner is false then the banner content gets reset to null. The idea would be to keep the banner contents even if the field is not actively shown.

Proposed Solution

There should be an option to save the value even when the conditional is false.

Possible Workaround

Use JavaScript to toggle the field conditionally instead of using the Pods UI feature.

Examples Elsewhere

No response

Screenshots / Screencast

No response

Metadata

Metadata

Assignees

Labels

Type: EnhancementEnhancements to features that already exist, but are not major additions

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions