Issue Bug Closed

#71977TCA slider wizard does not work with eval set to double2

Eric Chavaillaz 11/30/15, 11:41 updated 10/02/18, 11:26

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

Reviews 1