Context providing consumers the current entity schema and values if any.
You will usually want to wrap your form component with this context to help creating custom inputs.
Context values as defined in EntityContextType
function Form(values: CubicWebFormData) { return ( <EntityContextProvider schema={entitySchema} values={values}> <MyFormContent /> <EntityContextProvider/> )} Copy
function Form(values: CubicWebFormData) { return ( <EntityContextProvider schema={entitySchema} values={values}> <MyFormContent /> <EntityContextProvider/> )}
Generated using TypeDoc
Context providing consumers the current entity schema and values if any.
You will usually want to wrap your form component with this context to help creating custom inputs.