Project

General

Profile

Actions

Feature #102217

open

allow number with more than two digit in a field with TCA type="number"

Added by Dieter Porth about 1 year ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2023-10-21
Due date:
% Done:

0%

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

Description

If you define in your SQL
conversion_factor_to_g decimal(24,12) NOT NULL DEFAULT '0.000000000',
and in your TCA
'config' => [
'type' => 'number',
'format' => 'decimal',
'slider' => [
'step' => 0.000000001,
],
]

you can only input numbers with at least two digits. You have no chance to input more precise numbers and the eval='double2' does not exist anymore.

The current behavior should be renamed from 'decimals' to 'currency'.
The current attribute should accept a number, which defines the number of digits after the comma, you want use for storing of your number at least.


Files

Screenshot 2024-09-21 083447.png (28.5 KB) Screenshot 2024-09-21 083447.png Dieter Porth, 2024-09-21 06:35

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #98255: Add „float“ evaluation option for TCA type „input“Closed2022-09-03

Actions
Related to TYPO3 Core - Feature #102237: Auto-create DB fields from TCA columns for type "number"ClosedAnja Leichsenring2023-10-24

Actions
Actions

Also available in: Atom PDF