@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | /** @var Nayjest\Grids\Components\Filters\DateRangePicker $component */ |
3 | 3 | $id = uniqid(); |
4 | 4 | ?> |
5 | -<?php if($component->getLabel()): ?> |
|
5 | +<?php if ($component->getLabel()): ?> |
|
6 | 6 | <span> |
7 | 7 | <span class="glyphicon glyphicon-calendar"></span> |
8 | 8 | <?= $component->getLabel() ?> |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | start.val(picker.startDate.format(options.format)); |
37 | 37 | var end = $('[name="<?= $component->getEndInputName() ?>"]') |
38 | 38 | end.val(picker.endDate.format(options.format)); |
39 | - <?php if($component->isSubmittedOnChange()): ?> |
|
39 | + <?php if ($component->isSubmittedOnChange()): ?> |
|
40 | 40 | end.get(0).form.submit(); |
41 | 41 | <?php endif ?> |
42 | 42 | }; |