Can't create a doctype

Installed bench natively, enabled developer mode. Pressing “add row”, “save” or “delete” buttons in doctype creation menu ( ) does nothing. In browser console there are js errors

Full error message:

Bench 5.16.4
Node v18.16.1

Personally solved by reloading site’s webpage and restarting bench. Plus creating doctype only with base data (name, module and checkbox-driven settings) and then updating it with fields via edit menu.

But the whole issue still looks like a bug. Also documentation is a lie and does not reflect the current interface Create a DocType - model fields are now located inside a “form” tab.