Fields

E-mail

Extends Text

  • has the same features

The Email field is an extension of Text, which by default sets type=email.

use MoonShine\Fields\Email;
 
//...
 
public function fields(): array
{
return [
Email::make('Email')
];
}
 
//...