#3522188: Conditionally hide the roles selector; unset roles if hidden selector value leaks.
1 unresolved thread
1 unresolved thread
Closes #3522188
Merge request reports
Activity
89 84 '#description' => $self_join ? $this->t('You will be added to the selected class.') : $this->t('Student will be added to the selected class.'), 90 85 '#options' => $options, 91 86 ]; 87 88 if (\array_key_exists('group_roles', $form)) { 89 $form['group_roles']['#states'] = [ 90 'visible' => [ 91 'select[name=class]' => ['value' => '0'],
Please register or sign in to reply