Conditional Fields
in progress
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.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.
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..
Franz Josef Kaiser
Thanks for the awesome work and for providing a public, managed roadmap with updates!
Questions:
- Will this feature be "ee" or generally available?
- Will conditional fields be able to toggle components as well or just single fields?
Thank you!
Aurélien Georget
Franz Josef Kaiser So far, we never discussed it about making it a paid feature. Nothing is written in stone, there is an high chance that the Conditional Field will be part of the Community Edition (aka free for everyone).
The second question is a good one, I'd say that the end goal is to also be able to toggle components (group of fields), for the first iteration and release, we may not support this.
Dimitris Kottas
Hello,
I just wanted to ask if the schedule is still for August 2024. We are starting work on a big project where this would be an important feature.
Aurélien Georget
Dimitris Kottas Hello Dimitris, I'll update the schedule as we got some delay on v5 and we want to focus all our efforts on it. Please do not expect this feature being ready for August 2024. I'd suggest to explore the custom field to build your project instead.
B
Bahadır Yaren
Here are a few more thoughts on the mandatory fields, perhaps from a different perspective. The fields where you cannot create an entry if the field is empty
In the image component of Next.js, the width and height props are required, unless fill prop is set to true.
See the documentation on https://nextjs.org/docs/app/api-reference/components/image#fill.
Some may need to define aria-labels, but either one of aria-label or aria-labelledby.
I can imagine a grouping of required fields where one set of fields is mandatory.
Kuba Raźny
any news?
Jonathan Hsu
Excited for this feature. It has the opportunity to tremendously increase the robustness of the data that can be stored via Strapi while maintaining a high level of data integrity (through the conditional fields). I have a lot of experience in building complex data collection forms that use formulas, visibility conditions, and field validation so I'm happy the Strapi team in any way I can.
Load More
→