Added validation for InspectionDate and set a maximum year restriction in InspectionView.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<WrapPanel VerticalAlignment="Top">
|
||||
<TextBlock Margin="10,2" Text="Дата проведения:"
|
||||
FontSize="18" VerticalAlignment="Center"/>
|
||||
<DatePicker FontSize="18" VerticalAlignment="Center"
|
||||
<DatePicker FontSize="18" VerticalAlignment="Center" MaxYear="2500-01-01"
|
||||
SelectedDate="{Binding InspectionDate}"/>
|
||||
|
||||
<TextBlock Margin="10,2" Text="Период:" FontSize="18" VerticalAlignment="Center"/>
|
||||
|
||||
Reference in New Issue
Block a user