|
@@ -180,16 +180,16 @@
|
|
|
<TextBox Text="{Binding AddEmployeesVM.CurrentUser.Phonenumber}" Watermark="Телефон" Width="360" Margin="165 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
+ <!--<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Роль:</TextBlock>
|
|
|
<TextBox Text="{Binding AddEmployeesVM.CurrentUser.Role}" Watermark="Роль" Width="360" Margin="200 20 0 0"></TextBox>
|
|
|
- </StackPanel>
|
|
|
+ </StackPanel>-->
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Роль:</TextBlock>
|
|
|
- <ComboBox ItemsSource="{Binding AddEmployeesVM.Roles}">
|
|
|
+ <ComboBox ItemsSource="{Binding AddEmployeesVM.Roles}" SelectedItem="{Binding AddEmployeesVM.CurrentUser.RoleNavigation}">
|
|
|
<ComboBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding Roleid}" />
|
|
|
+ <TextBlock Text="{Binding Title}"/>
|
|
|
</DataTemplate>
|
|
|
</ComboBox.ItemTemplate>
|
|
|
</ComboBox>
|