strapi / documentation

Strapi Documentation
https://docs.strapi.io
Other
1.01k stars 1.07k forks source link

Update custom-fields.md options description type #2115

Closed kynatro closed 3 months ago

kynatro commented 3 months ago

Update the type for the description field for custom field option items to reflect actual implementation.

What does it do?

Updates the description field type to reflect the actual implementation. The description field type is still documented as expecting a String type, but according to the actual options structure (e.g. FormModal/attributes/advancedForm.ts), this should actually be the IntlObject type instead.

Why is it needed?

As documented, the description field will not output for custom field options in the Content-Type Builder UI.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 10:49pm
strapi-cla commented 3 months ago

CLA assistant check
All committers have signed the CLA.