Lynx

genui / openui / useFormValidation

useFormValidation()

function useFormValidation(): FormValidationContextValue | null

Read the nearest OpenUI form validation context, if one exists.

Returns

FormValidationContextValue | null

Defined in

@lynx-js/genui/openui/src/core/hooks/useFormValidation.ts:40

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.