Motivation
The
One, Two=2, Three=III syntax of
TWikiForms '
select+values type is not so intuitive.
Description and Documentation
As documented in
TWikiForms, the
select+values type supports
label=value definition for options, such as
One, Two=2, Three=III.
A
label=value turns into
<option value="value">label<option>.
This small enhancement deprecates this syntax in favor of a more intuitive
value: label definition, such as
One, 2: Two, III=Three.
A
value: label turns into
<option value="value">label<option>.
The deprecated
title=value syntax will remain in the code for compatibility.
Impact
Implementation
Enhance
TWiki::Form::Select.
Related, the new
AutocompletePlugin will be enhanced to support the same
value: label syntax for the
autocomplete type.
--
Contributors:
Peter Thoeny - 2014-10-02
Discussion
Accepted by release meeting at
KampalaReleaseMeeting2014x10x02
--
Peter Thoeny - 2014-10-04