Project

General

Profile

Actions

Bug #71977

closed

TCA slider wizard does not work with eval set to double2

Added by Eric Chavaillaz about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-11-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

When using the slider wizard in the TCA in couple of the "double2" evaluation, the value is not evaluated when saved.

My configuration :

'field' => array(
    'label' => 'my_field',
    'exclude' => TRUE,
    'config' => array(
        'type' => 'input',
        'size' => 4,
        'eval' => 'trim,double2',
        'range' => array(
            'lower' => 0,
            'upper' => 15
        ),
        'default' => 3.50,
        'wizards' => array(
            'angle' => array(
                'type' => 'slider',
                'step' => 0.50,
                'width' => 350
            )
        )
    )
),

If the value is directly entered in the input, it works like excepted.

Thanks

Actions #1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Benni Mack almost 9 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF