Last modified: 2011-10-10 15:00:09 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 T33586, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31586 - Radio buttons showing "none" even with default set
Radio buttons showing "none" even with default set
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-10 14:42 UTC by Neill Mitchell
Modified: 2011-10-10 15:00 UTC (History)
1 user (show)

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


Attachments

Description Neill Mitchell 2011-10-10 14:42:12 UTC
Hi.

I have the following:
!Colour
|{{{field|Colour|input type=radiobutton|values=black,white,blue,green|default=white}}}

I then also get a radio button called "None" which does not make any sense to the user.
It used to be the case that if you specified a default value, "None" was not shown.

I'm running SF 2.2.1 and MW 1.16.5.

Thanks.
Comment 1 Yaron Koren 2011-10-10 14:50:11 UTC
You need to also mark the field as "mandatory" for the "None" value to go away. I'm marking this bug report as invalid, though feel free to reopen it.
Comment 2 Neill Mitchell 2011-10-10 15:00:09 UTC
Ah, yes. Forgot about that. Sorry!

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


Navigation
Links