Skip to content

@serenity-is/corelib / getFormScript

Function: getFormScript()

getFormScript(key): Promise<PropertyItemsData>

Defined in: src/base/scriptdata.ts:223

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.