Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 504 Bytes

File metadata and controls

18 lines (12 loc) · 504 Bytes

Date

The most basic usage of the component is to simply reference it with a name attribute:

<x-date name="someday" />

This will output the following HTML:

<input name="someday" type="date" id="someday" class="form-control">

You can use this component in the same way as the "Input" component because it extends it.

Reference on MDN, especially for attributes