?
avatar mhaddy
mhaddy
27 Jan 2016

Steps to reproduce the issue

Originally described in this Google Groups thread, when the btn-group btn-group-yesno class is specified for form field type="radio" along with readonly="true", the fields are still editable by the user. Removing this class makes the fields readonly again.

Expected result

Radio buttons to be read only when the readonly="true" attribute is specified.

Actual result

Radio buttons are editable by user.

System information (as much as possible)

Tested in Chrome 64-bit v.48 on El Capitan.

Additional comments

avatar mhaddy mhaddy - open - 27 Jan 2016
avatar ggppdk
ggppdk - comment - 27 Jan 2016

With latest staging

if bootstrap class btn-group is added

neither of these work
disabled="true" (all are disabled but all are clickable)
readonly="true" (all but 1 are disabled but all are clickable)

i will make a PR (since i already have the code for it),
(together with a few others PRs when i find time) if anyone wants else wants to fix this now please do

avatar brianteeman brianteeman - change - 28 Jan 2016
Status New Confirmed
avatar flash1452
flash1452 - comment - 4 Mar 2016

@mhaddy Can you please specify exactly which radio buttons do u want to behave as read-only.Can you provide any screenshot or file name????

avatar brianteeman brianteeman - change - 10 Mar 2016
Category Administration Fields
avatar mhaddy
mhaddy - comment - 11 Mar 2016

@flash1452 Do you need more information than what is provided here? https://groups.google.com/d/msg/joomla-dev-general/86RBr5lqcjw/CHcrgiSBBQAJ

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jan 2017

@ggppdk is a PR coming to test?

avatar brianteeman
brianteeman - comment - 21 May 2017

Closing this as we have two PR to resolve it #10969 and #12039

avatar brianteeman brianteeman - change - 21 May 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-05-21 09:16:30
Closed_By brianteeman
avatar brianteeman brianteeman - close - 21 May 2017

Add a Comment

Login with GitHub to post a comment