We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8ed362 + fa42a69 commit 49572aeCopy full SHA for 49572ae
src/DateRangePicker.php
@@ -366,7 +366,7 @@ protected function initSettings()
366
$end = $this->getRangeValue('end');
367
$this->value = $start . $this->_separator . $end;
368
if ($this->hasModel()) {
369
- $attr = $this->attribute;
+ $attr = Html::getAttributeName($this->attribute);
370
$this->model->$attr = $this->value;
371
}
372
$this->pluginOptions['startDate'] = $start;
0 commit comments