Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72505

f:validateButton sets last value for radio not the selected one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      If you use `f:radioBlock` with multiple radio buttons
      and you have an `f:validateButton` where you want the value of the radio button submitted

      The value of the radio button that is submitted in the form submission is always the last radio button and not the selected one.

      Noticed in https://github.com/jenkinsci/azure-vm-agents-plugin/pull/493, but comments in the code point to workarounds being put in place for it from at least 2.60.

            Unassigned Unassigned
            timja Tim Jacomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: