src/templates/formtabconfig/index.jsx
@@ -426,10 +426,21 @@ }) } let roleList = [] if (menu.roleList && menu.roleList.length > 0) { roleList = menu.roleList.map(role => { return { uuid: role.uuid, field: role.value, label: role.text } }) } this.setState({ modaltype: 'search', card: card, formlist: getModalForm(card, _inputfields, _linkableFields, _linksupFields) formlist: getModalForm(card, _inputfields, _linkableFields, _linksupFields, false, roleList) }) }