Skip to main content

Function: useValidationFeedback()

useValidationFeedback(qItem, feedbackFromParent): string

Parameters

ParameterType
qItemQuestionnaireItem
feedbackFromParentstring | undefined

Returns

string

Deprecated

Use useValidationFeedbackSeverity instead. This wrapper exists for backward compatibility and will be removed in the next major release. Switching to the new hook lets field components distinguish warning-level feedback (advisory, amber) from error-level feedback (blocking, red).