BPT

Text input

The BptTextInput component is an enhanced text input control with built-in validation support. It provides callbacks for focus events and character input, with email and password validation.

TextInput Parameters

Value:

Current Configuration
📋 [+]
<BptTextInput @bind-Value="text"
              OnCharacterEntered="HandleCharacterEntered"
              OnFocusIn="HandleFocusIn"
              OnFocusOut="HandleFocusOut"
              />

@code {
private string text = "";

private void HandleCharacterEntered(string value)
{
    // Handle character input
}

private void HandleFocusIn()
{
    // Handle focus in
}

private void HandleFocusOut()
{
    // Handle focus out
}

private void HandleInputValidated(bool isValid)
{
    // Handle input validation result
}
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.