Last modified: 2011-11-15 05:00:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26008, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24008 - "show on select" broken for radiobutton input types
"show on select" broken for radiobutton input types
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-17 01:49 UTC by Alex Kozak
Modified: 2011-11-15 05:00 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alex Kozak 2010-06-17 01:49:06 UTC
The "show on select" option for {{{field}}} doesn't work when the "input type" is set to radiobutton. This bug is present in Semantic Forms 1.9.1.

Example: http://scratchpad.referata.com/wiki/Special:FormEdit?form=Radiobuttons&target=test
Comment 1 Yaron Koren 2010-08-23 22:49:59 UTC
I believe this is now fixed in version 2.0 - setting to "fixed".
Comment 2 badon 2011-11-15 01:28:47 UTC
I have discovered this bug again. I was able to get it to work by duplicating the radio button field twice:

{{{field | uploadoredit | class=uploadoredit | input type=radiobutton | values=upload, edit | default=edit | show on select=upload=>uploadfield;}}} <!-- Must duplicate this line to make buggy show on select hiding work. Workaround discovered by accident when accidentally pasting form code twice in form edit page. I don't know why it works. --><nowiki />
{{{field | uploadoredit | class=uploadoredit | input type=radiobutton | values=upload, edit | default=edit | show on select=upload=>uploadfield;}}} <!-- Must duplicate this line to make buggy show on select hiding work. Workaround discovered by accident when accidentally pasting form code twice in form edit page. I don't know why it works. --><nowiki />
Comment 3 Yaron Koren 2011-11-15 02:41:44 UTC
Where's an example of this not working?
Comment 4 badon 2011-11-15 05:00:00 UTC
I haven't been able to reproduce this again. I'll reopen it if I can get it to trigger again. Until then, apologies, I should have set up a demo for it before I posted it. Right now I'm thinking maybe the JS for it didn't load properly and was simply cached until I refreshed it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links