## Date Picker Field

This will create a new form field where the user that pick a date, a date time or a time

Property | Type | Description
-------- | ---- | -----------
name | string  | Must match the field name on the database (Mandatory)
label | string | It's the field display label the user will see (Mandatory)
type | string | Defines what is the field type. For this field it is "datePicker" (Mandatory) 
inputType | string | It defines if the field should be a date, date time or a time field. Possible values are "date", "datetime", "time". (Mandatory)  
multiLanguage | boolean | If the field is multi language. Default is false
validation | string | Indicates the validation rules. By default it already adds a regular expression to the correct format depending on the "inputType". Normally here you only put "required" or nothing 
inList | boolean | If the field shows up on the content type listing. Default false
search | boolean | If you can search the field in the content type listing. Is ignored unless the inList is true. Default false 
sort | boolean | If you can sort by this field in the content type listing. Is ignored unless the inList is true. Default false   
placement | string | Where does the field appear in the form. Possible values are _main_ or _sidebar_. Default value is _main_
parent | array&#124;boolean | Indicates if the field is dependent on a "parent field" value. Default is false if it doesn't have a field <br><br>`["name" => "type","values" => ["value1","value2"]]`<br><br>With the example above this field would only show up when the "type" field had the "value1" or "value2" selected 
disabled | boolean | If it is true the field will be disabled for editing. Default false
info | string | Help text that shows up next to text form field 

The field on the database table should be DATETIME if inputType is datetime, date if inputType is DATE or TIME if inputType is date.

In the Eloquent model you must put the field "name" property in the models $dates property if the inputType is not "time" so it return as a Carbon object. For example, let say the name of this field is "news_date", You must put the following on the eloquent model:

`protected $dates = ['news_date'];`
