Project

General

Profile

Actions

Feature #101812

open

Allow floats for range.lower and range.upper of TCA type Number in decimal format

Added by Georg Tiefenbrunn 11 months ago. Updated 6 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-08-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The range.* properties of TCA type Number currently are forced to integers in TYPO3\CMS\Backend\Form\Element\NumberElement (lines 194/195 for sliders and 219/222).

TCA Reference : lower Defines the lower integer value, upper Defines the upper integer value.

This should be changed to allow floats for floating point values (format=decimal).

Instead of the precision property (mentioned on line 90) I would prefer the html step attribute.

Actions #1

Updated by Gerrit Code Review 8 days ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85187

Actions #2

Updated by Gerrit Code Review 8 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85187

Actions #3

Updated by Gerrit Code Review 8 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85187

Actions #4

Updated by Gerrit Code Review 6 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85187

Actions #5

Updated by Gerrit Code Review 6 days ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85187

Actions

Also available in: Atom PDF