Skip to content

Commit

Permalink
Add autosubmit class to Timeframe field in ReportForm
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeDaRold authored and lippserd committed Dec 11, 2019
1 parent 1ad1763 commit 5d59f50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Reporting/Web/Forms/ReportForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ protected function assemble()
$this->addElement('select', 'timeframe', [
'required' => true,
'label' => 'Timeframe',
'options' => [null => 'Please choose'] + $this->listTimeframes()
'options' => [null => 'Please choose'] + $this->listTimeframes(),
'class' => 'autosubmit'
]);

$this->addElement('select', 'reportlet', [
Expand Down

0 comments on commit 5d59f50

Please sign in to comment.