Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit b3b0ce9

Browse files
authored
Merge pull request #385 from github/paladique/pick-dir-validation
Remove unnecessary bindings
2 parents b9fcde8 + 9a0da2a commit b3b0ce9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitHub.VisualStudio/UI/Views/Controls/RepositoryCreationControl.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</Grid.RowDefinitions>
104104

105105
<Label Grid.Column="0" Grid.Row="0" Target="{Binding ElementName=nameText}" Content="{x:Static prop:Resources.nameText}"/>
106-
<ui:PromptTextBox x:Name="nameText" Grid.Column="1" Grid.Row="0" MaxLength="{x:Static GitHub:Constants.MaxRepositoryNameLength}" Text="{Binding RepositoryName, UpdateSourceTrigger=PropertyChanged}" />
106+
<ui:PromptTextBox x:Name="nameText" Grid.Column="1" Grid.Row="0" MaxLength="{x:Static GitHub:Constants.MaxRepositoryNameLength}"/>
107107

108108
<StackPanel Grid.Column="1" Grid.Row="1">
109109
<uirx:ValidationMessage
@@ -121,15 +121,15 @@
121121
<Label Grid.Column="0" Grid.Row="2" Target="{Binding ElementName=description}" Content="{x:Static prop:Resources.descriptionText}"/>
122122
<ui:PromptTextBox x:Name="description" Grid.Column="1" Grid.Row="2"/>
123123

124-
<Label Grid.Column="0" Grid.Row="3" Target="{Binding ElementName=localPathText, UpdateSourceTrigger=PropertyChanged}" Content="{x:Static prop:Resources.localPathText}"/>
124+
<Label Grid.Column="0" Grid.Row="3" Target="{Binding ElementName=localPathText}" Content="{x:Static prop:Resources.localPathText}"/>
125125
<Grid Grid.Column="1" Grid.Row="3">
126126

127127
<Grid.ColumnDefinitions>
128128
<ColumnDefinition Width="*" />
129129
<ColumnDefinition Width="Auto" />
130130
</Grid.ColumnDefinitions>
131131

132-
<ui:PromptTextBox x:Name="localPathText" Grid.Column="0" Grid.Row="0" Text="{Binding BaseRepositoryPath, UpdateSourceTrigger=PropertyChanged}"/>
132+
<ui:PromptTextBox x:Name="localPathText" Grid.Column="0" Grid.Row="0"/>
133133
<Button
134134
x:Name="browsePathButton"
135135
Grid.Column="1"

0 commit comments

Comments
 (0)