Home > @i2analyze/i2connect > utility > SectionedFormConditions
utility.SectionedFormConditions type
A utility type that determines the callback condition key-value pairs for a given form that has sections.
Signature:
type SectionedFormConditions<TForm extends services.SectionedForm> = {
[K in keyof TForm]: TForm[K]['hide'] extends services.HidePredicate ? FormConditions<TForm[K]['conditions']> | undefined : FormConditions<TForm[K]['conditions']>;
};
References: services.SectionedForm, services.HidePredicate, FormConditions
Introduced: API version 2.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TForm | extends services.SectionedForm | The type of the form. |