From e60ad641eb6efef46ddd1322d1938075a4bd9348 Mon Sep 17 00:00:00 2001 From: mckaragoz <78308169+mckaragoz@users.noreply.github.com> Date: Sat, 18 May 2024 23:14:21 +0300 Subject: [PATCH] CodeInput Changes --- .../Examples/CodeInputExample1.razor | 7 +-- .../Components/CodeInput/MudCodeInput.razor | 22 ++++--- .../CodeInput/MudCodeInput.razor.cs | 60 +++++++++++++++---- 3 files changed, 66 insertions(+), 23 deletions(-) diff --git a/CodeBeam.MudBlazor.Extensions.Docs/Pages/Components/CodeInput/Examples/CodeInputExample1.razor b/CodeBeam.MudBlazor.Extensions.Docs/Pages/Components/CodeInput/Examples/CodeInputExample1.razor index b4f288d6..abcfbf3b 100644 --- a/CodeBeam.MudBlazor.Extensions.Docs/Pages/Components/CodeInput/Examples/CodeInputExample1.razor +++ b/CodeBeam.MudBlazor.Extensions.Docs/Pages/Components/CodeInput/Examples/CodeInputExample1.razor @@ -2,8 +2,8 @@ - + @@ -30,8 +30,7 @@ -@code{ - MudCodeInput? _textFieldGroup; +@code { string? _value; int _count = 4; int _spacing = 2; diff --git a/CodeBeam.MudBlazor.Extensions/Components/CodeInput/MudCodeInput.razor b/CodeBeam.MudBlazor.Extensions/Components/CodeInput/MudCodeInput.razor index b79302c7..236325fd 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/CodeInput/MudCodeInput.razor +++ b/CodeBeam.MudBlazor.Extensions/Components/CodeInput/MudCodeInput.razor @@ -2,15 +2,19 @@ @typeparam T @inherits MudFormComponent -
- @for (int i = 0; i < Count; i++) - { - int a = i; - - } -
+ + +
+ @for (int i = 0; i < Count; i++) + { + int a = i; + + } +
+
+