Skip to content

Commit 1a0492b

Browse files
committed
Update more examples
1 parent 18dc0bc commit 1a0492b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

examples/Demo/FluentUI.Demo.Client/Documentation/Components/Field/Examples/FieldMessageMultipleConditions.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<FluentTextInput Label="Example field"
2-
TextFieldType="TextInputType.Password"
2+
TextInputType="TextInputType.Password"
33
@bind-Value="@MyValue"
44
Immediate="true"
55
MessageCondition="@(i => i.When(() => MyValue.Length < 8)

examples/Demo/FluentUI.Demo.Client/Documentation/Components/TextInput/Examples/TextInputPrefixSuffix.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</EndTemplate>
99
</FluentTextInput>
1010

11-
<FluentTextInput Label="Email" TextFieldType="TextInputType.Email" @bind-Value="@Sometext2" Style="width: 300px;">
11+
<FluentTextInput Label="Email" TextInputType="TextInputType.Email" @bind-Value="@Sometext2" Style="width: 300px;">
1212
<StartTemplate>
1313
<FluentIcon Value="@(new Icons.Regular.Size20.Mail())" />
1414
</StartTemplate>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<FluentStack Orientation="Orientation.Vertical" VerticalGap="10" >
2-
<FluentTextInput Label="Text" Placeholder="Text" @bind-Value="@Value" TextInputType="TextInputType.Text" />
3-
<FluentTextInput Label="Email" Placeholder="Email" @bind-Value="@Value" TextInputType="TextInputType.Email" />
4-
<FluentTextInput Label="Password" Placeholder="Password" @bind-Value="@Value" TextInputType="TextInputType.Password" />
1+
<FluentStack Orientation="Orientation.Vertical" VerticalGap="10">
2+
<FluentTextInput Label="Text" Placeholder="Text" @bind-Value="@Value" TextInputType="TextInputType.Text" />
3+
<FluentTextInput Label="Email" Placeholder="Email" @bind-Value="@Value" TextInputType="TextInputType.Email" />
4+
<FluentTextInput Label="Password" Placeholder="Password" @bind-Value="@Value" TextInputType="TextInputType.Password" />
55
<FluentTextInput Label="Telephone" Placeholder="Telephone" @bind-Value="@Value" TextInputType="TextInputType.Telephone" />
66
<FluentTextInput Label="Url" Placeholder="Url" @bind-Value="@Value" TextInputType="TextInputType.Url" />
77
<FluentTextInput Label="Color" Width="50px" Placeholder="Color" @bind-Value="@Value" TextInputType="TextInputType.Color" />
@@ -13,5 +13,5 @@
1313

1414
@code
1515
{
16-
string Value = "";
16+
string Value = "";
1717
}

0 commit comments

Comments
 (0)