Employee Quick Entry

I’m trying to incorporate a Quick Entry feature for the Employee Doctype since we occasionally require only a limited amount of information to swiftly register a new employee. However, I’ve stumbled upon an error that I’m finding hard to comprehend.

Whenever I enable Quick Entry and tick the “Allow in Quick Entry” for a mandatory field such as “First Name” and try to add a new Employee, the following error pops up:

“Uncaught (in promise) TypeError: this.frm is undefined
Tab tab.js:6
make_tab layout.js:307
…”

I attempted to troubleshoot by making alterations in tab.js, but to no avail. Is there anyone who might have an idea of how to resolve this issue?