Uncaught TypeError: frappe.ui.form.make_control is not a function

Trying to use dialog example here in my script, I got the following error:

Uncaught TypeError: frappe.ui.form.make_control is not a function

However if pass the fields as empty list it is working,
What is going wrong here?
Thanks in advance

Frappe Chat: v0.0.1 (main)

ERPNext: v13.26.0 (HEAD)

Frappe Framework: v13.26.0 (HEAD)

Solved by including js

	<!-- js should be loaded in body! -->
	<script type="text/javascript" src="/assets/frappe/js/lib/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="/assets/js/frappe-web.min.js"></script>
	<script type="text/javascript" src="/assets/js/control.min.js"></script>
	<script type="text/javascript" src="/assets/js/dialog.min.js"></script>
	<script type="text/javascript" src="/assets/js/bootstrap-4-web.min.js"></script>
1 Like

Hi,
i just started development in Frappe.
I’m facing same error.
when i include those scrips in header only jquery is available but for rest of the things i’m getting 404.
How to download those scrips.

You help would be appreciated.
Thank you.