public function datepickerInput(string $field, array $options = []): string
    {
        $options = Hash::merge([
            'type' => 'date',
        ], $options);

        return $this->Form->input($field, $options);
    }
public function datepickerInput(string $field, array $options = []): string
    {
        $options = Hash::merge([
            'type' => 'date',
        ], $options);

        return $this->Form->input($field, $options);
    }
public function datepickerInput ( string $ field , array $ options = [ ] ) : string { $ options = Hash :: merge ( [ 'type' => 'date' , ] , $ options ) ; return $ this -> Form -> input ( $ field , $ options ) ; }
Render a datepicker input to be processed by DatePicker.js

@param string $field Field Name
@param array $options Options
@return string
Render a datepicker input to be processed by DatePicker . js