[UPDT] PAYROLL: Upated select2 event triggers by using common script on index.js

This commit is contained in:
Horilla
2025-07-05 15:25:41 +05:30
parent 0e38de4764
commit 5cae06549a

View File

@@ -43,10 +43,3 @@
</div>
</form>
</div>
<script>
$(document).ready(function () {
$("select").on("select2:select", function (e) {
$(this).closest("select")[0].dispatchEvent(new Event("change"));
});
});
</script>