#Adding character limit in field type richText.

5 messages · Page 1 of 1 (latest)

wraith portal
#

Is there anyway to dynamically add character limit in richText field type. By dynamically i mean making an api call which will return the character limit that will be set to richText field.

formal valley
#

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.

wraith portal
#

But adding description dynamically is not possible. We will need the description to come from an api

formal valley
#

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.