Forms

Field

Associate a label, description, and validation messages with a NewUI form control.

Basic usage

Field passes states such as required and invalid to its control. Correct the email in this example to clear the error message.

Used for account notifications.Include the full domain, such as example.com.

API

Key props and defaults.

PropValues and behaviorDefault
requiredbooleanfalse
invalidbooleanfalse
validbooleanfalse
disabledbooleanfalse
readOnlybooleanfalse
sizesm | md | lgmd