We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c5176 commit 0cf0cd3Copy full SHA for 0cf0cd3
src/BootstrapBlazor/Components/Input/OtpInput.razor.cs
@@ -8,6 +8,7 @@ namespace BootstrapBlazor.Components;
8
/// <summary>
9
/// OTP input component
10
/// </summary>
11
+[BootstrapModuleAutoLoader("Input/OtpInput.razor.js")]
12
public partial class OtpInput
13
{
14
@@ -54,7 +55,7 @@ public partial class OtpInput
54
55
private string? TypeModeString => Type switch
56
57
OtpInputType.Number => "numeric",
- _ => "text"
58
+ _ => null
59
};
60
61
private char[] _values = [];
src/BootstrapBlazor/Components/Input/OtpInput.razor.js
@@ -0,0 +1,7 @@
1
+export function init(id) {
2
+ console.log(id);
3
+}
4
+
5
+export function dispose(id) {
6
7
0 commit comments