Project

General

Profile

Actions

Bug #54212

closed

No formatting in backend for read only fields (TCA)

Added by Tobias Klepp almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
-- undefined --
Category:
Backend User Interface
Target version:
Start date:
2013-12-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If I set a field in my extension table to a read only field with the following TCA definition, the formatting is gone and I only see the number of seconds.

'duration' => array (
  'exclude' => 1,
  'label' => 'LLL:EXT:my_extkey/locallang_db.xml:tx_myextkey_tablename.duration',
  'config' => array (
    'type' => 'input',
    'size' => '8',
    'max' => '8',
    'eval' => 'timesec',
    'readOnly' => 1,
  )
),

Without readonly attribute, the form field is formatted in Time:Sec. It would be really helpful, if the formatting of a field is not gone, if the field is read only.

Actions

Also available in: Atom PDF