Classes
Methods
# Form (cfg: object) → UForm static
Creates a new instance of UI module what can be visualized in the application shell using mount*() call
Arguments:
cfg: objectcomponent: Vue.ComponentForm component
rootComponent: Vue.ComponentAlias for
cfg.componentprops: objectForm component props
title: stringForm title. Can contain macros
{attrName}, such macros will be replaced by attributes values. Example -({code}) {name}entity: stringEntity name for master record
instanceID: numberInstance ID
isModal: booleanIf true form will be displayed inside modal dialog. Otherwise - in tab (default)
openInBackgroundTab: booleanIf
true- the tab with a newly opened form does not become activemodalClass: stringModal class
modalWidth: stringModal width
formCode: stringRequired to provide form code for form constructor button in toolbar and for correct tabID generation
tabId: stringOptional tabId. If omitted will be calculated using entity code and instanceID
target: objectOptional target. Used for render form into form
isCopy: booleanRequired isCopy. Used for create new record with data of existing record
