Provide a helper for doing conditional fields based on the machine name of the selected term in the controlling field

Created on 1 January 2025, 3 months ago

Problem/Motivation

I'd like to use Drupal's Form API #states attribute, and curious if others have done that and have examples of helper code or more ambitious (foolish?) approaches like swapping out term IDs in favor of term machine names generally.

Proposed resolution

Add a helper function.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024