Bug #31724

Slider wizard must use range instead of min/max properties

Added by Francois Suter almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend User Interface
Target version:
Start date:
2011-11-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #25315: Add a value slider as wizard to TCEformsClosedSteffen Kamper2011-03-13

Actions
#1

Updated by Francois Suter almost 11 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.

#2

Updated by Francois Suter almost 11 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.

#3

Updated by Mr. Hudson almost 11 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

#4

Updated by Mr. Hudson almost 11 years ago

Patch set 1 of change I4bafc56d1cb0ce219c22e36f9998febb6c9b3675 has been pushed to the review server.
It is available at http://review.typo3.org/6628

#5

Updated by Francois Suter almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Xavier Perseguers over 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF