Skip to main content Skip to navigation

Components: Text

How to use

The text field allows the user to input text values.

Text::make('Firstname', 'firstname')
    ->icon('user')
    ->rules(['required'])

Inherited methods

The Select field extends the base field and inherits all of its methods.

It also inherits the methods from the following traits: