...
Code Block | ||
---|---|---|
| ||
dynamicMdms : {
uiFramework: "custom-containers",
componentPath: "DynamicMdmsContainer",
props: {
dropdownFields: [
{
key : 'tradeCategory'
},
{
key : 'tradeType'
},
{
key : 'tradeSubType',
callBack: tradeSubTypeChange, // Optional
isDisabled: false , // Optional,
defaultValue : '' , //Optional
fieldType : "autosuggest" // Optional
}
],
moduleName: "TradeLicense",
masterName: "TradeType",
rootBlockSub : 'tradeUnits',
type : 'TL',
callBackEdit: updateMdmsDropDowns,
isDependency : "DynamicMdms.common-masters.structureTypes.structureSubType"
}
} |
...
callBackEdit
mean - It’s for Edit functionality and it will call only for Edit action .
defaultValue
mean - If default value exists the Object then the drop down will automatically select mention value if its available in MDMS JSON .
The “dropdownFields” Values are the main picture to manage number of dynamic drop down’s .
...