Skip to content

@serenity-is/corelib / getFormDataAsync

Variable: getFormDataAsync()

const getFormDataAsync: (key) => Promise<PropertyItemsData> = getFormScript

Defined in: src/compat/scriptdata-compat.ts:162

Alias for getFormScript. Compat shim for Q.getFormDataAsync.

Loads a FormScript bundle for the given key.

Parameters

key

string

Form key (usually the row/form type name, e.g. "Administration.User").

Returns

Promise<PropertyItemsData>

A promise resolving to a PropertyItemsData describing the form fields.