genui / openui / useGetFieldValue
function useGetFieldValue(): (formName: undefined | string, name: string) => any
Get a form field value from the form state context.
Function
formName
undefined
string
name
any
const getFieldValue = useGetFieldValue(); const name = getFieldValue("contactForm", "name");
@lynx-js/genui/openui/src/core/context.tsx:141