Skip to main content
Version: 2.1.4

FieldValidationError

3p-core v2.1.4


3p-core / FieldValidationError

Variable: FieldValidationError

const FieldValidationError: React.FunctionComponent<IFieldValidationError>

Displays a validation error message for a form field.

This component is typically used below form controls to show field-level validation feedback. It only renders content when errorMessage is non-empty.

Param

Contains the validation error message to display.

Example

<FieldValidationError errorMessage={formContext.validation.getErrorMessage('Title')} />