Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/LageBuch.App.Shared/Views/RolesView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,15 @@
PlaceholderText="{x:Static md:AnonymizedExampleData.SectionPlaceholder}"
Text="{Binding NewSection}" />
</HeaderedContentControl>
<!-- Suggestion list, not a closed set: an ad-hoc or mutual-aid call sign must stay
enterable, so this is an AutoCompleteBox rather than a ComboBox (#92). -->
<HeaderedContentControl Classes="field" Header="FUNKRUFNAME">
<ComboBox Width="150" ItemsSource="{Binding CallSignOptions}" SelectedItem="{Binding NewCallSign}" />
<AutoCompleteBox Width="150"
PlaceholderText="{x:Static md:AnonymizedExampleData.CallSignPlaceholder}"
ItemsSource="{Binding CallSignOptions}"
FilterMode="ContainsOrdinal"
MinimumPrefixLength="0"
Text="{Binding NewCallSign}" />
</HeaderedContentControl>
<HeaderedContentControl Classes="field" Header="HANDYNUMMER">
<TextBox x:Name="PhoneBox" Width="150"
Expand Down Expand Up @@ -83,7 +90,12 @@
b:EnterSubmit.Command="{Binding ConfirmTransferCommand}" />
</HeaderedContentControl>
<HeaderedContentControl Classes="field" Header="FUNKRUFNAME">
<ComboBox x:Name="TransferCallSignBox" Width="150" ItemsSource="{Binding CallSignOptions}" SelectedItem="{Binding TransferCallSign}" />
<AutoCompleteBox x:Name="TransferCallSignBox" Width="150"
PlaceholderText="{x:Static md:AnonymizedExampleData.SecondCallSignPlaceholder}"
ItemsSource="{Binding CallSignOptions}"
FilterMode="ContainsOrdinal"
MinimumPrefixLength="0"
Text="{Binding TransferCallSign}" />
</HeaderedContentControl>
<HeaderedContentControl Classes="field" Header="HANDYNUMMER">
<TextBox x:Name="TransferPhoneBox" Width="150"
Expand Down
10 changes: 8 additions & 2 deletions src/LageBuch.App.Shared/Views/ScbaView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,15 @@
Text="{Binding NewZweiterTruppmann}"
b:EnterSubmit.Command="{Binding AddTruppCommand}" />
</HeaderedContentControl>
<!-- Suggestion list, not a closed set: an ad-hoc or mutual-aid call sign must stay
enterable, so this is an AutoCompleteBox rather than a ComboBox (#92). -->
<HeaderedContentControl Classes="field" Header="FUNKRUFNAME">
<ComboBox Width="140" ItemsSource="{Binding CallSignOptions}"
SelectedItem="{Binding NewCallSign}" />
<AutoCompleteBox Width="140"
PlaceholderText="{x:Static md:AnonymizedExampleData.CallSignPlaceholder}"
ItemsSource="{Binding CallSignOptions}"
FilterMode="ContainsOrdinal"
MinimumPrefixLength="0"
Text="{Binding NewCallSign}" />
</HeaderedContentControl>
<HeaderedContentControl Classes="field" Header="EINSATZZEIT">
<StackPanel Orientation="Horizontal" Spacing="6">
Expand Down
Loading