Example #1
0
 public function dateTime($options = [])
 {
     $this->extend = ArrayHelper::merge($this->extend, ['datetime' => $this->getDefaults(['time' => true], ['date'], ['date' => 'format'])], $options);
     return $this->widget(\x1\knockout\input\BootstrapMaterialDatetimePicker::className(), ArrayHelper::merge(['time' => true, 'options' => $this->inputOptions, 'pickerOptions' => ['time' => false, 'autoOpen' => false]], $options));
     return $this->widget(\x1\knockout\input\DateTime::className(), ArrayHelper::merge(['options' => $this->inputOptions], $options));
 }