diff --git a/CutList.Web/Components/Layout/MainLayout.razor b/CutList.Web/Components/Layout/MainLayout.razor index 5b16a67..dd3a4a3 100644 --- a/CutList.Web/Components/Layout/MainLayout.razor +++ b/CutList.Web/Components/Layout/MainLayout.razor @@ -6,10 +6,6 @@
-
- CutList Web -
-
@Body
diff --git a/CutList.Web/Components/Shared/LengthInput.razor b/CutList.Web/Components/Shared/LengthInput.razor index 8178893..5ff1976 100644 --- a/CutList.Web/Components/Shared/LengthInput.razor +++ b/CutList.Web/Components/Shared/LengthInput.razor @@ -5,7 +5,7 @@ class="form-control @(HasError ? "is-invalid" : "")" value="@DisplayValue" @onchange="OnInputChange" - placeholder="e.g., 12' 6" or 144" /> + placeholder="@Placeholder" /> @if (HasError) {
@ErrorMessage
@@ -20,7 +20,7 @@ public EventCallback ValueChanged { get; set; } [Parameter] - public string? Placeholder { get; set; } + public string Placeholder { get; set; } = "e.g., 12' 6\" or 144"; private string DisplayValue { get; set; } = string.Empty; private bool HasError { get; set; }