You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we are using the fields component in formik to register custom fields.
<Field
name="richtextField"
label="Textarea that allows HTML"
required
allowHtml={true}
component={RichTextarea}
/>
I am looking for a way to register a custom validation function that is applied to this control. The validation function must be registered in our "RichTextarea" component and ensure that specific rules are always verified.
Do you have some examples how we could achieve this goal?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
we are using the fields component in formik to register custom fields.
I am looking for a way to register a custom validation function that is applied to this control. The validation function must be registered in our "RichTextarea" component and ensure that specific rules are always verified.
Do you have some examples how we could achieve this goal?
Thank you,
Patrick
Beta Was this translation helpful? Give feedback.
All reactions