LaravelCollective / html

HTML and Form Builders for the Laravel Framework
MIT License
4k stars 806 forks source link

Form::input of type email don't seem supported #747

Closed AnnoyingTechnology closed 1 year ago

AnnoyingTechnology commented 1 year ago

Laravel : 10 HTML : 6.4

The following snippet

{{ Form::text(
  'email', 
  $email, 
  [
    'type'=>'email',
  ]) 
}}

Should produce an <input type="email" /> allowing for Javascript validation of emails, but it produces <input type="text"/> instead.

AnnoyingTechnology commented 1 year ago

Nevermind, it's actually Form::email