diff --git a/data/mz/commonUIConfig/LoginConfig.json b/data/mz/commonUIConfig/LoginConfig.json index e69de29bb2..9fd7218ba3 100644 --- a/data/mz/commonUIConfig/LoginConfig.json +++ b/data/mz/commonUIConfig/LoginConfig.json @@ -0,0 +1,63 @@ +{ + "tenantId": "mz", + "moduleName": "commonUiConfig", + "LoginConfig1": [ + { + "texts": { + "header": "CORE_COMMON_LOGIN", + "submitButtonLabel": "CORE_COMMON_CONTINUE", + "secondaryButtonLabel": "CORE_COMMON_FORGOT_PASSWORD" + }, + "inputs": [ + { + "label": "CORE_LOGIN_USERNAME", + "type": "text", + "populators": { + "name": "username" + }, + "isMandatory": true + }, + { + "label": "CORE_LOGIN_PASSWORD", + "type": "password", + "populators": { + "name": "password" + }, + "isMandatory": true + }, + { + "isMandatory": true, + "type": "dropdown", + "key": "city", + "label": "CORE_COMMON_CITY", + "disable": false, + "populators": { + "name": "city", + "optionsKey": "name", + "error": "ERR_HRMS_INVALID_CITY", + "mdmsConfig": { + "masterName": "tenants", + "moduleName": "tenant", + "localePrefix": "TENANT_TENANTS", + "select": "(data)=>{ return Array.isArray(data['tenant'].tenants) && Digit.Utils.getUnique(data['tenant'].tenants).map(ele=>({code:ele.code,name:Digit.Utils.locale.getTransformedLocale('TENANT_TENANTS_'+ele.code)}))}" + } + } + }, + { + "isMandatory": false, + "key": "check", + "type": "component", + "component": "PrivacyComponent", + "withoutLabel": true, + "disable": false, + "customProps": { + "module": "HCM" + }, + "populators": { + "name": "check" + } + } + ] + } + ] + } \ No newline at end of file