You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maui-toolkit/Otp-Input/Events.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
---
2
2
layout: post
3
-
title: Events in .NET MAUI OtpInput control | Syncfusion®
4
-
description: Learn about event support in Syncfusion® Toolkit for .NET MAUI OtpInput (SfOtpInput) control and more.
3
+
title: Events in .NET MAUI OTP Input control | Syncfusion®
4
+
description: Learn about event support in Syncfusion® Toolkit for .NET MAUI OTP Input (SfOtpInput) control and more.
5
5
platform: maui-toolkit
6
-
control: OtpInput
6
+
control: OTP Input
7
7
documentation: ug
8
8
---
9
9
10
-
# Events in .NET MAUI OtpInput (SfOtpInput)
10
+
# Events in .NET MAUI OTP Input (SfOtpInput)
11
11
12
-
Events in the OtpInput control allow developers to respond to user interactions and input changes effectively.
12
+
Events in the OTP Input control allow developers to respond effectively to user interactions and input changes.
13
13
14
14
## ValueChanged event
15
15
16
-
The OtpInput component triggers the `ValueChanged` event whenever the value of an input field changes. This is particularly useful for validating input in real-time or triggering further actions as user input is completed. The `OtpInputValueChangedEventArgs` provides details about the specific changes in value.
16
+
The OTP Input component triggers the `ValueChanged` event whenever the value of an input field changes. This is particularly useful for validating input in real-time or triggering further actions as user input is completed. The `OtpInputValueChangedEventArgs` provides details about the specific changes in value.
Copy file name to clipboardExpand all lines: maui-toolkit/Otp-Input/Getting-Started.md
+103-8Lines changed: 103 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
layout: post
3
-
title: Getting started with .NET MAUI OtpInput control | Syncfusion®
4
-
description: Learn here about getting started with Syncfusion® .NET MAUI OtpInput (SfOtpInput) control in your cross-platform applications.
3
+
title: Getting started with .NET MAUI OTP Input control | Syncfusion®
4
+
description: Learn here about getting started with Syncfusion® .NET MAUI OTP Input (SfOtpInput) control in your cross-platform applications.
5
5
platform: maui-toolkit
6
-
control: OtpInput
6
+
control: OTP Input
7
7
documentation: ug
8
8
---
9
9
10
-
# Getting Started with .NET MAUI OtpInput
10
+
# Getting Started with .NET MAUI OTP Input
11
11
12
-
This section provides a quick overview of how to get started with the `OtpInput` for .NET MAUI and a walk-through to configure the .NET MAUI OtpInput in a real-time scenario. Follow the steps below to add .NET MAUI OtpInput to your project.
12
+
This section provides a quick overview of how to get started with the `OTP Input` for .NET MAUI and a walk-through to configure the .NET MAUI OTP Input in a real-time scenario. Follow the steps below to add .NET MAUI OTP Input to your project.
13
13
14
14
{% tabcontents %}
15
15
{% tabcontent Visual Studio %}
@@ -62,7 +62,7 @@ public static class MauiProgram
62
62
{% endhighlight %}
63
63
{% endtabs %}
64
64
65
-
## Step 4: Add a Basic OtpInput
65
+
## Step 4: Add a Basic OTP Input
66
66
67
67
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.OtpInput` namespace into your code.
68
68
@@ -135,7 +135,7 @@ public static class MauiProgram
135
135
{% endhighlight %}
136
136
{% endtabs %}
137
137
138
-
## Step 4: Add a Basic OtpInput
138
+
## Step 4: Add a Basic OTP Input
139
139
140
140
1. To initialize the control, import the `Syncfusion.Maui.Toolkit.OtpInput` namespace into your code.
141
141
@@ -155,4 +155,99 @@ SfOtpInput otpInput = new SfOtpInput();
155
155
{% endtabs %}
156
156
157
157
{% endtabcontent %}
158
-
{% endtabcontents %}
158
+
159
+
{% tabcontent JetBrains Rider %}
160
+
161
+
## Prerequisites
162
+
163
+
Before proceeding, ensure the following are set up:
164
+
165
+
1. Ensure you have the latest version of JetBrains Rider.
166
+
2. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later is installed.
167
+
3. Make sure the MAUI workloads are installed and configured as described [here.](https://www.jetbrains.com/help/rider/MAUI.html#before-you-start)
168
+
169
+
## Step 1: Create a new .NET MAUI Project
170
+
171
+
1. Go to **File > New Solution,** Select .NET (C#) and choose the .NET MAUI App template.
172
+
2. Enter the Project Name, Solution Name, and Location.
173
+
3. Select the .NET framework version and click Create.
174
+
175
+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI Toolkit NuGet Package
176
+
177
+
1. In **Solution Explorer,** right-click the project and choose **Manage NuGet Packages.**
178
+
2. Search for [Syncfusion.Maui.Toolkit](https://www.nuget.org/packages/Syncfusion.Maui.Toolkit/) and install the latest version.
179
+
3. Ensure the necessary dependencies are installed correctly, and the project is restored. If not, Open the Terminal in Rider and manually run: `dotnet restore`
180
+
181
+
## Step 3: Register the handler
182
+
183
+
In the MauiProgram.cs file, register the handler for Syncfusion<sup>®</sup> Toolkit.
Copy file name to clipboardExpand all lines: maui-toolkit/Otp-Input/Input-Types.md
+9-32Lines changed: 9 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
layout: post
3
-
title: Input Types in .NET MAUI OtpInput | Syncfusion®
4
-
description: Learn here about input types in Syncfusion® .NET MAUI OtpInput (SfOtpInput) control in your cross-platform applications.
3
+
title: Input Types in .NET MAUI OTP Input | Syncfusion®
4
+
description: Learn here about input types in Syncfusion® .NET MAUI OTP Input (SfOtpInput) control in your cross-platform applications.
5
5
platform: maui-toolkit
6
-
control: OtpInput
6
+
control: OTP Input
7
7
documentation: ug
8
8
---
9
9
@@ -15,7 +15,7 @@ This section explains the the various types of OTP (One-Time Password) input com
15
15
16
16
### Number type
17
17
18
-
The `Type` property can be set to `Number`, prompting the input to handle numeric-only codes. This is ideal for scenarios demanding numeric OTPs. By default, the `Type` property is set to `Number`.
18
+
The `Type` property can be set to `Number`, prompting the input to handle numeric-only codes. This is ideal for scenarios demanding numeric OTP's. By default, the `Type` property is set to `Number`.
19
19
20
20
{% tabs %}
21
21
{% highlight xaml %}
@@ -34,11 +34,11 @@ SfOtpInput otpInput = new SfOtpInput()
34
34
{% endhighlight %}
35
35
{% endtabs %}
36
36
37
-

37
+

38
38
39
39
### Text type
40
40
41
-
You can set the `Type` property to `Text` for inputs that may include both letters and numbers, suitable for alphanumeric OTPs.
41
+
You can set the `Type` property to `Text` for inputs that may include both letters and numbers, suitable for alphanumeric OTP's.
42
42
43
43
{% tabs %}
44
44
{% highlight xaml %}
@@ -57,11 +57,11 @@ SfOtpInput otpInput = new SfOtpInput()
57
57
{% endhighlight %}
58
58
{% endtabs %}
59
59
60
-

60
+

61
61
62
62
### Password type
63
63
64
-
You can set the `Type` property to `Password` to use this input type as password in the OtpInput.
64
+
You can set the `Type` property to `Password` to use this input type as password in the OTP Input.
65
65
66
66
{% tabs %}
67
67
{% highlight xaml %}
@@ -80,27 +80,4 @@ SfOtpInput otpInput = new SfOtpInput()
80
80
{% endhighlight %}
81
81
{% endtabs %}
82
82
83
-

84
-
85
-
## Value
86
-
87
-
You can specify the value of OtpInput by using the `Value` property.
88
-
89
-
{% tabs %}
90
-
{% highlight xaml %}
91
-
92
-
<otpInput:SfOtpInput Value="e3c7" Type="Text" />
93
-
94
-
{% endhighlight %}
95
-
{% highlight c# %}
96
-
97
-
SfOtpInput otpInput = new SfOtpInput()
98
-
{
99
-
Value = "e3c7",
100
-
Type = OtpInputType.Text
101
-
};
102
-
103
-
{% endhighlight %}
104
-
{% endtabs %}
105
-
106
-

83
+

0 commit comments