diff --git a/src/Server.UI/Pages/Enrolments/Components/RightToWork.razor b/src/Server.UI/Pages/Enrolments/Components/RightToWork.razor
index 2afd0520..5f5297d0 100644
--- a/src/Server.UI/Pages/Enrolments/Components/RightToWork.razor
+++ b/src/Server.UI/Pages/Enrolments/Components/RightToWork.razor
@@ -56,7 +56,8 @@
Label="@Model.GetMemberDescription(x => x.ValidFrom)"
MaxDate="DateTime.Now.Date"
MinDate="DateTime.Now.AddYears(-5).Date"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
@if (Model.IndefiniteRightToWork is false)
{
@@ -65,7 +66,8 @@
Label="@Model.GetMemberDescription(x => x.ValidTo)"
MaxDate="DateTime.MaxValue.Date"
MinDate="DateTime.Now.Date"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
}
diff --git a/src/Server.UI/Pages/Objectives/Tasks/AddTaskDialog.razor b/src/Server.UI/Pages/Objectives/Tasks/AddTaskDialog.razor
index 828388a7..4a876fc0 100644
--- a/src/Server.UI/Pages/Objectives/Tasks/AddTaskDialog.razor
+++ b/src/Server.UI/Pages/Objectives/Tasks/AddTaskDialog.razor
@@ -17,7 +17,8 @@
MinDate="new DateTime(DateTime.UtcNow.Year, DateTime.UtcNow.Month, 1)"
Label="@Model.GetMemberDescription(x => x.Due)"
For="@(() => Model.Due)"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
diff --git a/src/Server.UI/Pages/Objectives/Tasks/AdjustDateTaskDialog.razor b/src/Server.UI/Pages/Objectives/Tasks/AdjustDateTaskDialog.razor
index 51950816..c085296b 100644
--- a/src/Server.UI/Pages/Objectives/Tasks/AdjustDateTaskDialog.razor
+++ b/src/Server.UI/Pages/Objectives/Tasks/AdjustDateTaskDialog.razor
@@ -12,7 +12,8 @@
MinDate="new DateTime(DateTime.UtcNow.Year, DateTime.UtcNow.Month, 1)"
Label="@Model.GetMemberDescription(x => x.Due)"
For="@(() => Model.Due)"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
diff --git a/src/Server.UI/Pages/Participants/Components/AddHubInductionDialog.razor b/src/Server.UI/Pages/Participants/Components/AddHubInductionDialog.razor
index 64a5a4ba..c438bf4b 100644
--- a/src/Server.UI/Pages/Participants/Components/AddHubInductionDialog.razor
+++ b/src/Server.UI/Pages/Participants/Components/AddHubInductionDialog.razor
@@ -6,25 +6,28 @@
- @if(Model is not null)
- {
-
-
-
-
-
-
-
-
-
-
- }
+
+ @if (Model is not null)
+ {
+
+
+
+
+
+
+
+
+
+
+ }
+
+
@ConstantString.Cancel
diff --git a/src/Server.UI/Pages/Participants/Components/AddInductionPhaseDialog.razor b/src/Server.UI/Pages/Participants/Components/AddInductionPhaseDialog.razor
index bb0c3171..1dc106ad 100644
--- a/src/Server.UI/Pages/Participants/Components/AddInductionPhaseDialog.razor
+++ b/src/Server.UI/Pages/Participants/Components/AddInductionPhaseDialog.razor
@@ -5,21 +5,23 @@
- @if (Model is not null)
- {
-
-
-
-
-
-
-
- }
+
+ @if (Model is not null)
+ {
+
+
+
+
+
+
+
+ }
+
@ConstantString.Cancel
diff --git a/src/Server.UI/Pages/Participants/Components/AddWingInductionDialog.razor b/src/Server.UI/Pages/Participants/Components/AddWingInductionDialog.razor
index f983479f..57ef9103 100644
--- a/src/Server.UI/Pages/Participants/Components/AddWingInductionDialog.razor
+++ b/src/Server.UI/Pages/Participants/Components/AddWingInductionDialog.razor
@@ -6,25 +6,27 @@
- @if(Model is not null)
- {
-
-
-
-
-
-
-
-
-
-
- }
+
+ @if (Model is not null)
+ {
+
+
+
+
+
+
+
+
+
+
+ }
+
@ConstantString.Cancel
diff --git a/src/Server.UI/Pages/Participants/Components/CompletePhaseDialog.razor b/src/Server.UI/Pages/Participants/Components/CompletePhaseDialog.razor
index 5535ff6a..7ff9ddd5 100644
--- a/src/Server.UI/Pages/Participants/Components/CompletePhaseDialog.razor
+++ b/src/Server.UI/Pages/Participants/Components/CompletePhaseDialog.razor
@@ -5,21 +5,23 @@
- @if (Model is not null)
- {
-
-
-
-
-
-
-
- }
+
+ @if (Model is not null)
+ {
+
+
+
+
+
+
+
+ }
+
@ConstantString.Cancel
diff --git a/src/Server.UI/Pages/Risk/RiskComponents/AdditionalInformation.razor b/src/Server.UI/Pages/Risk/RiskComponents/AdditionalInformation.razor
index 969aee66..36c47b7f 100644
--- a/src/Server.UI/Pages/Risk/RiskComponents/AdditionalInformation.razor
+++ b/src/Server.UI/Pages/Risk/RiskComponents/AdditionalInformation.razor
@@ -32,7 +32,8 @@
For="@(() => Model.ReferredOn)"
MaxDate="DateTime.UtcNow.Date"
Editable="true"
- Class="mt-4"/>
+ Class="mt-4"
+ PickerVariant="PickerVariant.Dialog"/>
}
diff --git a/src/Server.UI/Pages/Risk/RiskComponents/LicenseConditions.razor b/src/Server.UI/Pages/Risk/RiskComponents/LicenseConditions.razor
index b450ea85..a2537dd4 100644
--- a/src/Server.UI/Pages/Risk/RiskComponents/LicenseConditions.razor
+++ b/src/Server.UI/Pages/Risk/RiskComponents/LicenseConditions.razor
@@ -19,7 +19,8 @@
For="@(() => Model.LicenseEnd)"
MinDate="DateTime.UtcNow.Date"
Class="mt-4"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
}
diff --git a/src/Server.UI/Pages/Risk/RiskComponents/Recommendations.razor b/src/Server.UI/Pages/Risk/RiskComponents/Recommendations.razor
index 89333871..5880c42f 100644
--- a/src/Server.UI/Pages/Risk/RiskComponents/Recommendations.razor
+++ b/src/Server.UI/Pages/Risk/RiskComponents/Recommendations.razor
@@ -20,7 +20,8 @@
For="@(() => Model.ActivityRecommendationsReceived)"
MaxDate="DateTime.UtcNow.Date"
Class="mt-4"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
}
diff --git a/src/Server.UI/Pages/Risk/RiskComponents/Restrictions.razor b/src/Server.UI/Pages/Risk/RiskComponents/Restrictions.razor
index 8cfa43a6..86ff8a49 100644
--- a/src/Server.UI/Pages/Risk/RiskComponents/Restrictions.razor
+++ b/src/Server.UI/Pages/Risk/RiskComponents/Restrictions.razor
@@ -19,7 +19,8 @@
For="@(() => Model.ActivityRestrictionsReceived)"
MaxDate="DateTime.UtcNow.Date"
Class="mt-4"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
@@ -34,7 +35,8 @@
For="@(() => Model.PSFRestrictionsReceived)"
MaxDate="DateTime.UtcNow.Date"
Class="mt-4"
- Editable="true" />
+ Editable="true"
+ PickerVariant="PickerVariant.Dialog"/>
}
diff --git a/src/Server.UI/Server.UI.csproj b/src/Server.UI/Server.UI.csproj
index df0bd7fe..93550647 100644
--- a/src/Server.UI/Server.UI.csproj
+++ b/src/Server.UI/Server.UI.csproj
@@ -1,4 +1,4 @@
-
+
Cfo.Cats.Server.UI
@@ -14,6 +14,7 @@
default
true
CS8785
+ false
diff --git a/test/Application.UnitTests/Application.UnitTests.csproj b/test/Application.UnitTests/Application.UnitTests.csproj
index 105c1695..42093c7c 100644
--- a/test/Application.UnitTests/Application.UnitTests.csproj
+++ b/test/Application.UnitTests/Application.UnitTests.csproj
@@ -7,6 +7,7 @@
false
default
true
+ false
diff --git a/test/ArchitectureTests/ArchitectureTests.csproj b/test/ArchitectureTests/ArchitectureTests.csproj
index 3677f24d..b8b770b2 100644
--- a/test/ArchitectureTests/ArchitectureTests.csproj
+++ b/test/ArchitectureTests/ArchitectureTests.csproj
@@ -7,6 +7,7 @@
false
default
true
+ false