Table of Contents

Class VTextField

Namespace
Velvet.Experimental
Assembly
Velvet.Docs.dll
public sealed class VTextField : VBuilder
Inheritance
object
VTextField
Inherited Members

Constructors

VTextField(string?)

Properties

Enabled

When false, disables user input.

IsDelayed

When true, the value is not updated per keystroke but on Enter, on the field losing focus, and on a later render taking the flag off.

IsPasswordField

When true, masks the input as a password field.

IsReadOnly

When true, the field cannot be edited.

Label

Label text shown next to the field.

MaxLength

Maximum number of characters the field accepts, -1 for no limit.

OnChange

Handler invoked when the input text changes.

Placeholder

A short hint shown in the empty field.

Value

Current text value (controlled).

Methods

Build()

Converts this builder into a concrete VNode by delegating to the matching V.* factory.