Conditional Fields
complete
Marco Autiero
We're thrilled to introduce Conditional Fields, coming in hot with v5.17.0! 🔥
You can now dynamically show or hide fields based on Enumeration or Boolean values.
🍕 Example time:
→ italianDish is set to pizza → boom, all the pizza-related fields appear.
→ likesPineappleOnPizza is false → hide everything and pretend the debate never happened.
This is just the first slice — we're already working on expanding support to more field types.
Meanwhile, tell us:
- what works?
- what’s missing?
- what weird edge case did you throw at it?
💬 Drop your feedback, questions, or memes by email to product-feedback@strapi.io
P.S. If you manage to break it… congrats, you’re probably onto something interesting. Tell us what you did. 😅
D
Davomyan
I will not put pineapple on pizza if you guys release dynamic zones in components
Kai Doe
complete
Marco Autiero
We're thrilled to introduce Conditional Fields, coming in hot with v5.17.0! 🔥
You can now dynamically show or hide fields based on Enumeration or Boolean values.
🍕 Example time:
→ italianDish is set to pizza → boom, all the pizza-related fields appear.
→ likesPineappleOnPizza is false → hide everything and pretend the debate never happened.
This is just the first slice — we're already working on expanding support to more field types.
Meanwhile, tell us:
- what works?
- what’s missing?
- what weird edge case did you throw at it?
💬 Drop your feedback, questions, or memes by email to product-feedback@strapi.io
P.S. If you manage to break it… congrats, you’re probably onto something interesting. Tell us what you did. 😅
A
Adriano Cahete (adrianocahete)
Marco Autiero API will output this rules too?
Marco Autiero
Hey Strapi Community!
We’re excited to announce that Conditional Fields are now available in beta! 🥳
With conditional fields, you can dynamically show or hide fields in the content editor based on other field values (namely, boolean and enumeration fields' values).
🛠️ To test the beta:
- Make sure you’re on the version 5.17.0-beta.0of Strapi
- Start configuring conditions in your content types by defining them in the fields' advanced settings. For now, conditions can be set based on the value of a boolean or enumeration field.
🗣️ Share your feedback & issues:
- Comment in our Discord channel for any qualitative feedback
- Open an issue on GitHub if you spot a bug or a problem
As always, your input will shape how this feature evolves – we appreciate every bit of it!
Thank you! 🫶🏻
raphaeldas
Marco Autiero Thank you guys for listening to the community and develop strapi with the wishes and needs of the users in mind! 👌🏻
JOY
Marco Autiero Best feature release ever. I really need this in my schema design.
D
Diego Rodriguez
Is there any date to release this field with a conditional?
Niklas Winkels
in progress
We’re working on
Conditional Fields
to make content editing in Strapi more intuitive and focused. This feature allows developers to configure when certain fields should be shown or hidden, based on other field values. This enhancement helps reduce clutter in the editing interface, improves data accuracy, and speeds up onboarding for non-technical users. Whether you’re building complex schemas or managing large teams, conditional fields make your CMS smarter and easier to use.L
Laurens Kling
Niklas Winkels thank you so much, this will make editing so much simpler.
jodie
oh my word! big one....
B
Boaz Skater
Niklas Winkels this is great! Just wondering? Will this feature also allow conditional requiring at the API level?
A
Alex Bennett
Niklas Winkels so much hype for this feature. I cannot wait!
Igor Zinchenko
Niklas Winkels no idea how to react on this.
Brocy Centeio
Niklas Winkels about time, thanks God and Strapi, what a time to be alive
Niklas Winkels
Boaz Skater: Thanks for the question! Conditional fields only apply to the admin panel and the Content Manager interface. They do not influence the API behavior or enforce any conditions at the API level.
Aswanth Updot
Niklas Winkels thank you so much, When can we expect this?
D
Davomyan
How long has this been delayed??
D
Davomyan
ETA?
H
Harvey Gomez
Following this as it is a feature we require also.
I can build a custom plugin in the meantime but would be great when this is supported out of the box.
B
Brianfbento
Aurélien Georget With v5 launching soon, any update on this? Really looking forward to this feature
Aurélien Georget
Brianfbento I'm going to disappoint you. We didn't start to work on the feature yet. It's still in our backlog though. I have no ETA to share, it's on hold, the Preview feature was prioritized instead.
D
Davomyan
Aurélien Georget Hi Aurelien, what is the ETA on this now? Can we expect it still in 2024?
Aurélien Georget
Davomyan I still don't know, we are focused on fixing Strapi 5 bugs and the Previews as we speak. I don't think we should expect anything coming from the core team this year.
D
Davomyan
Aurélien Georget How about now? If you're going to ditch Dynamic zone in Components, then at least make this one please..
Load More
→