hide submit in filter of list of devices

This commit is contained in:
Cayo Puigdefabregas 2023-05-04 12:58:32 +02:00
parent b8593bd63f
commit 02752ee2b8
3 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,9 @@ $(document).ready(() => {
;
select_shift(); // $('#selectLot').selectpicker();
$("#filter").on("change", () => {
$("#submit_filter").click();
});
});
class TableController {

View File

@ -16,6 +16,9 @@ $(document).ready(() => {
};
select_shift();
// $('#selectLot').selectpicker();
$("#filter").on("change", () => {
$("#submit_filter").click();
});
})
class TableController {

View File

@ -374,7 +374,7 @@
{% endfor %}
<input type="hidden" class="d-none" value="1" name="page" />
<input type="hidden" class="d-none" value="{{ devices.per_page }}" name="per_page" />
<input type="submit" class="ms-2 btn btn-primary" value="Filter" />
<input type="submit" id="submit_filter" class="d-none ms-2 btn btn-primary" value="Filter" />
</div>
</form>