(positionTypeId, headerPK, contentId = null)
| 1422 | SplitViewPage.setTableRowCounter(_tableData.rows.length); |
| 1423 | } |
| 1424 | async function _createFormWidget(positionTypeId, headerPK, contentId = null) { |
| 1425 | console.log( |
| 1426 | 'Init form for module "' + |
| 1427 | _getModuleName() + |
| 1428 | '", positiontype ID: ' + |
| 1429 | positionTypeId |
| 1430 | ); |
| 1431 | _formObject = new UiForm( |
| 1432 | form.getFormConfig( |
| 1433 | _getModuleName(), |
| 1434 | positionTypeId, |
| 1435 | _formIdName, |
| 1436 | _formData, |
| 1437 | _staticData, |
| 1438 | _isNewDataset |
| 1439 | ) |
| 1440 | ); |
| 1441 | const renderFormInContainer = contentId ? contentId : _getFormSelector(); |
| 1442 | await form.initForm( |
| 1443 | _getModuleName(), |
| 1444 | positionTypeId, |
| 1445 | _formEvent, |
| 1446 | _formObject, |
| 1447 | _formData, |
| 1448 | _staticData, |
| 1449 | _isNewDataset, |
| 1450 | renderFormInContainer, |
| 1451 | headerPK |
| 1452 | ); |
| 1453 | } |
| 1454 | function _bindUiListPickerEmployees( |
| 1455 | elementName, |
| 1456 | defaultTabId, |
no test coverage detected