Skip to content

Restrict selection of multiple radio buttons that belong to the same group to just one #4409

Closed
@shahamish150294

Description

@shahamish150294

JabRef version on Windows 10/Java 8.

In Preferences, there are instances at which we need to select an option through radio buttons. Eg: Check screenshot attached. There are many instances in the Preferences where I am able to select multiple radio buttons for each group. Either we need to use checkboxes if multi-select is to be allowed or we should group the radio buttons under a toggle group as done here https://github.com/JabRef/jabref/pull/4408/files#diff-e0f0e1ade7c4cee8c43b0bb2254c21ebR123

I debugged an verified this issue. If multiple options are selected then always the first option (out of all the other selected options) in the if-else condition gets set as the preference.
Steps to reproduce the behavior:

  1. Start the app
  2. Go to Options > Preferences > Entry Editor
  3. Enable autocomplete options
  4. Under the "Name format used for auto completion" option, you should be able to select all the options

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    [outdated] type: bugConfirmed bugs or reports that are very likely to be bugscomponent: preferencesgood first issueAn issue intended for project-newcomers. Varies in difficulty.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions