I am building an admin side form and placed a Menuitem form field, that is working just fine.
It is showing all the menu entries as expected, but I need it to list only the ones for "components" (i.e. exclude menu entries of type url, alias, etc.).
The documentation ([https://docs.joomla.org/Menuitem_form_field_type]) refers the "menu_type" attribute, but that is for a different purpose - it's for "menu type", not "menu entry type").
Is there a way to this via the "Menuitem form field type", or must I go around it with the "SQL form field type" querying the #__menu table?