Skip to content

set email input type to email #94#122

Open
PeterTheOne wants to merge 1 commit intoForum-Informationsfreiheit:masterfrom
PeterTheOne:patch-1
Open

set email input type to email #94#122
PeterTheOne wants to merge 1 commit intoForum-Informationsfreiheit:masterfrom
PeterTheOne:patch-1

Conversation

@PeterTheOne
Copy link

I haven't tested how it actually looks in the frontend.

email: HTML5
A field for editing an e-mail address. The input value is validated to contain either the empty string or a single valid e-mail address before submitting. The :valid and :invalid CSS pseudo-classes are applied as appropriate.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input

We could also set it to required.

required HTML5
This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or button). The :optional and :required CSS pseudo-classes will be applied to the field as appropriate.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant