Input Field
The input field is a single or multiline text field and can be used for primitive data types.
Supported Data Types
stringshortintfloatdouble
Examples
The following example code creates a simple input field for the property Name.
tab.AddInput(p => p.Name);
You can also create a multiline text field and add a custom label, default value, comment and more like the following example.

Configuration:
tab.AddInput(p => p.Description)
.Label("Description")
.Default("Write something here")
.MultipleLines("200px")
.Comment("Write a brief description here.")
.Tooltip("Here's more information about this form field.")
.Validate(v => v.NotNull());
A more complex input field with suffix, prefix, max length and email address validation can be configured like the following code example.

Configuration:
tab.AddInput(p => p.EmailAddress)
.Label("Your email address")
.Default("default@example.com")
.Prefix("Prefix")
.Suffix("Suffix")
.MaxLength(100)
.Comment("Please enter your email address.")
.Tooltip("Here's more information about this form field.")
.Validate(v => v.NotNull().Email());