/**
 * Recruitment reports page helpers (filter form UX).
 */
(function () {
    'use strict';

    document.querySelectorAll('[data-recruitment-report-filters]').forEach(function (form) {
        form.addEventListener('keydown', function (e) {
            if (e.key === 'Enter' && e.target && e.target.tagName !== 'TEXTAREA') {
                // allow default submit
            }
        });
    });
})();
