Creates date input.

FormItem::date('date', 'Date')

Important: you must have intl php extension installed to use this form element.

Important 2: you must mark your field as date in your model:

public function getDates()
{
    return array_merge(parent::getDates(), ['date_field_name']);
}

Opened State