Time Picker

Time picker provides an interface to easily set time values.

Configuration

To change the options or bind any events you can use $clientOptions and $clientEvents.


<?= \macgyer\yii2materializecss\widgets\form\TimePicker::widget([
    'name' => 'timepicker_example',
    'options' => ['placeholder' => 'Select time'],
    'clientOptions' => [
        'twelveHour' => false
    ]
]); ?>

Rendered result

Please note:
As this is a JS plugin, the input will be further manipulated by the JS plugin.