Hello there,

It's been brought to my attention that tableselect type tables do not show the radio buttons when '#multiple' => FALSE is provided as an option in the array.

I have attached a quick module (based on one of the 'Example' modules https://drupal.org/project/examples) with a table populated using these options which can be accessed from /examples/tableselect_example when installed. If you switch to different themes you will see that the table renders the radio buttons, however does not with the Bootstrap theme.

Upon removing the option from the tableselect form element (allowing multiple select) there are no issues.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tr33m4n’s picture

FYI, this also occurs with 7.x-3.x

tr33m4n’s picture

Version: 7.x-2.1 » 7.x-3.x-dev
markhalliwell’s picture

Version: 7.x-3.x-dev » 7.x-2.1
Status: Active » Closed (duplicate)
markhalliwell’s picture

Version: 7.x-2.1 » 7.x-3.x-dev
Status: Closed (duplicate) » Active

My bad, let's re-open this then :)

valkum’s picture

Status: Active » Needs review
FileSize
393 bytes

Added tableselect to the list of types that doesn't get form-control
Should work though.

tr33m4n’s picture

Can confirm is working correctly :)

markhalliwell’s picture

Status: Needs review » Fixed

Thanks @valkum!

Committed 2519cdd to 7.x-3.x.

tr33m4n’s picture

Status: Fixed » Needs review

Any chance this might get fixed in 7.x-2.x? Or is it all hands on deck for 3.x now?

tr33m4n’s picture

Status: Needs review » Fixed
tr33m4n’s picture

Added a patch for 7.x-2.x

tr33m4n’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
Status: Fixed » Needs review
markhalliwell’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Needs review » Fixed

Thanks @tr33m4n!

Committed 53a87eb to 7.x-2.x.

markhalliwell’s picture

Version: 7.x-3.x-dev » 7.x-3.0-rc1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.