Making WordPress.org

Opened 2 years ago

Closed 2 years ago

#6206 closed enhancement (fixed)

Switch photo orientation options to radio (instead of checkbox)

Reported by: mdburnette's profile mdburnette Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Photo Directory Keywords:
Cc:

Description

Since photos can really only be one of the choices, it would be best if the options were limited to one selection by way of using radio buttons instead of checkboxes. This would reduce any issues with multiple being selected unintentionally.

Attachments (1)

CleanShot 2022-03-21 at 22.37.51@2x.jpg (43.8 KB) - added by mdburnette 2 years ago.
Example screenshot of proposed enhancement.

Download all attachments as: .zip

Change History (2)

@mdburnette
2 years ago

Example screenshot of proposed enhancement.

#1 @coffee2code
2 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 11712:

Photo Directory, Admin: Show orientation taxonomy input as radio buttons instead of checkboxes since only one should ever be selected.

Done via only JS since it is easy enough to do so, affects only moderators who should all have JS enabled, and nothing bad results if this gets bypassed.

Props mdburnette, coffee2code.
Fixes #6206.

Note: See TracTickets for help on using tickets.