MCPcopy
hub / github.com/webpack/webpack / _createFormWidget

Function _createFormWidget

test/configCases/inner-graph/issue-11678/module.js:1424–1453  ·  view source on GitHub ↗
(positionTypeId, headerPK, contentId = null)

Source from the content-addressed store, hash-verified

1422 SplitViewPage.setTableRowCounter(_tableData.rows.length);
1423}
1424async 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}
1454function _bindUiListPickerEmployees(
1455 elementName,
1456 defaultTabId,

Callers 2

_showFormFunction · 0.85

Calls 3

_getModuleNameFunction · 0.85
_getFormSelectorFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected