Bug #31724
closedSlider wizard must use range instead of min/max properties
100%
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.
Updated by Francois Suter about 13 years ago
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.
Updated by Francois Suter about 13 years ago
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.
Updated by Mr. Hudson about 13 years ago
- 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
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I4bafc56d1cb0ce219c22e36f9998febb6c9b3675 has been pushed to the review server.
It is available at http://review.typo3.org/6628
Updated by Francois Suter about 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a7651507ab9f0521f74910984d1ea231b72a3eaf.
Updated by Xavier Perseguers almost 13 years ago
- Status changed from Resolved to Closed