#Adding character limit in field type richText.
5 messages · Page 1 of 1 (latest)
You could write your own validate function to do this. https://payloadcms.com/docs/fields/overview#validation
If you do this you should also add a description function or component so your users know how much content they can enter. Optional, but that would be my recommendation.
But adding description dynamically is not possible. We will need the description to come from an api
What do you mean the description cannot be dynamic?
Field admin.description can be a function, react component or a string. Either of the first two can call an API or rely on a custom provider that does.