Bug #31724
closed
Slider wizard must use range instead of min/max properties
Added by Francois Suter almost 13 years ago.
Updated over 12 years ago.
Category:
Backend User Interface
Description
#25315 introduced a slider wizard for select-type and input-type fields. For input-type fields it is possible to define a minimum and maximum value for the slider. Unfortunately the wizard misuses the "max" TCA property for the maximum value, which is normally used for the "maxlength" attribute of the input field.
The slider wizard should instead rely on the "range" property, which already exists and serves exactly the purpose of defining a minimum and maximum value for the field.
If you want to have a working slider wizard for testing, you can grab the latest version of extension "examples" from SVN:
https://svn.typo3.org/TYPO3v4/Extensions/examples/trunk/
Create a new haiku record and scroll down to the bottom of the screen. The "Angle" field has a slider wizard which should allow values from -90 to 90 with steps of 10.
NOTE: this represents a breaking change, but it must be fixed before the use of this wizard becomes widespread, as discussed in the v4 mailing list:
http://lists.typo3.org/pipermail/typo3-project-v4/2011-November/003015.html
I will take care of adding a note in the documentation to the effect that the slider wizard works properly only as of version 4.6.1 due tu a bug in the original version.
- Status changed from Accepted to Under Review
Patch set 1 of change I0cf34c78f5109ce244357471a122be0f24f1aeef has been pushed to the review server.
It is available at http://review.typo3.org/6618
Patch set 1 of change I4bafc56d1cb0ce219c22e36f9998febb6c9b3675 has been pushed to the review server.
It is available at http://review.typo3.org/6628
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF