Is there a way to hide taxonomy terms based on the value of a boolean field?

Created on 4 September 2023, over 1 year ago

I have defined a few taxonomy terms and want to hide some of them in a particular form display. These terms has a field "should_hide", which is set to True.

What is the best way to do this? I am thinking of adding a field in Widget Setting to specify which term should be hidden from the generated dropdown list. Are there better, or built in, ways to do this?

💬 Support request
Status

Active

Version

4.0

Component

Code

Created by

🇯🇵Japan hktang

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

Comments & Activities

Production build 0.71.5 2024