Skip to content
Discussion options

You must be logged in to vote

Answering my own question. I need to add the binding manually.

var otpInput = new SfOtpInput()
    {
        AutoFocus = true,
        Type = OtpInputType.Number,
        Length = 6,
        StylingMode = OtpInputStyle.Outlined,
        InputState =  OtpInputState.Default,
        HorizontalOptions = LayoutOptions.Center,
         
    };
 otpInput.SetBinding(SfOtpInput.ValueProperty, nameof(Otp));

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alberk8
Comment options

@alberk8
Comment options

@alberk8
Comment options

Answer selected by alberk8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants