Hide group selector if the user is not a member of any groups

Created on 16 April 2018, about 6 years ago
Updated 27 January 2023, over 1 year ago

Problem

If the user is not a member of any group or the platform has no groups then the empty select list for a group on the add content form (e.g. /node/add/topic) created by the SocialGroupSelectorWidget can be confusing.

Solution

Disable the element and show a message or hide the element altogether.

✨ Feature request
Status

Closed: works as designed

Version

11.1

Component

Front-End

Created by

πŸ‡³πŸ‡±Netherlands Kingdutch

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024