ASC.People: GroupAction, ProfileAction: using combobox default option

This commit is contained in:
Andrey Savihin 2019-12-27 14:03:35 +03:00
parent 459dad28ae
commit 692279b4b0
2 changed files with 6 additions and 7 deletions

View File

@ -124,7 +124,8 @@ class SectionBodyContent extends React.Component {
}
: {
key: GUID_EMPTY,
label: t("CustomAddEmployee", { typeUser })
label: t("CustomAddEmployee", { typeUser }),
default: true
}
};
@ -321,7 +322,8 @@ class SectionBodyContent extends React.Component {
isDisabled={inLoading}
selectedOption={{
key: 0,
label: t("AddMembers")
label: t("AddMembers"),
default: true
}}
scaled={true}
size="content"

View File

@ -12,10 +12,6 @@ const Container = styled.div`
width: 120px;
margin: 0 8px 0 0;
}
.field-select > div > div:first-child.combo-button-label {
color: #A3A9AE;
}
`;
const getOptions = (patterns, keyPrefix) => {
@ -104,7 +100,8 @@ class ContactsField extends React.Component {
selectedOption={{
key: prefix,
label: addItemText,
value: ""
value: "",
default: true
}}
isDisabled={isDisabled}
scaled={true}