No Code Attached Yet good first issue
avatar chmst
chmst
16 Feb 2022

Steps to reproduce the issue

Go to system - languages installed

grafik

Expected result

Checkbox as in all other views
grafik

Actual result

see screen - a radio button

System information (as much as possible)

Additional comments

avatar chmst chmst - open - 16 Feb 2022
avatar joomla-cms-bot joomla-cms-bot - change - 16 Feb 2022
Labels Added: No Code Attached Yet good first issue
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Feb 2022
avatar brianteeman
brianteeman - comment - 16 Feb 2022

A radio button is correct.

On this screen you can only do one thing - make a language default and you can only make one language default to its a radio

avatar chmst
chmst - comment - 16 Feb 2022

Whether I can choose between different actions or have only one possible action for selected items makes no difference.
This can happen also in other views, depending on access rights.

In menus, where we can set only one menuItem as "home", we also have checkboxes. As there are only two states possible "checked" or "not checked" and no alternatives are present, I think it is better when all screens are equal.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37067.

avatar brianteeman
brianteeman - comment - 16 Feb 2022

if it is possible to select multiple items then it must be a check box
If it is only possible to select one item then it must be a radio

Remember that when you select a radio then it unselects any previous selection.

avatar brianteeman
brianteeman - comment - 16 Feb 2022

Ever since the first edition of Inside Macintosh in 1984, the rule has been the same for when to use checkboxes versus radio buttons. All subsequent GUI standards and the official W3C Web standards have included the same definition of these two controls:

  1. Radio buttons are used when there is a list of two or more options that are mutually exclusive and the user must select exactly one choice. In other words, clicking a non-selected radio button will deselect whatever other button was previously selected in the list.
  1. Checkboxes are used when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn't uncheck the others.
  1. A stand-alone checkbox is used for a single option that the user can turn on or off.

Source NN Group

Radio and checkboxes also have inherent semantic meanings

avatar Quy
Quy - comment - 16 Feb 2022

Radio button is the correct usage as only one should be selected to be the default. Otherwise, you will run into this issue:
#24591

avatar Quy
Quy - comment - 16 Feb 2022

In menus, where we can set only one menuItem as "home", we also have checkboxes. As there are only two states possible "checked" or "not checked" and no alternatives are present, I think it is better when all screens are equal.

Because there are other actions that will perform on multiple items. In this case, there is only one action Default on one item.

avatar chmst chmst - change - 16 Feb 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-02-16 19:48:47
Closed_By chmst
avatar chmst chmst - close - 16 Feb 2022

Add a Comment

Login with GitHub to post a comment