I check that type="usergroup" is not working in Joomla 4. There is not way to select usergroup
But it needs to be a dropdown to select them
Nothing works.
Joomla 4
Labels |
Added:
No Code Attached Yet
|
@ashik685 Like it was in Joomla 3 it still is in Joomla 4, see the comment above by @alikon : You have to use the right type "usergrouplist". See also https://docs.joomla.org/J3.x:Adding_custom_fields/Usergroup_Field .
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-08-25 14:23:24 |
Closed_By | ⇒ | richard67 |
Closing as expected behaviour since type="usergroup" is wrong, see https://docs.joomla.org/J3.x:Adding_custom_fields/Usergroup_Field . And see also here for an example: https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_users/config.xml#L19 .
Actually the usergroup field type does exist in Joomla 3 as well. See the documentation at:
https://docs.joomla.org/Usergroup_form_field_type
Yes, the usergrouplist works in both Joomla 3 and Joomla 4.
should be
type="usergrouplist"