Epic #96997
openAdd more types for TCA columns
90%
Description
We should add more TCA types for columns:
- type=email
- type=number
- type=link
- type=password (hashing algorithms need to be defined there)
- type=date (dbType needs to be applied only there)
- type=time (dbType needs to be applied only there)
- type=datetime (dbType needs to be applied only there)
- type=folder
- type=asset/file
- type=richtext
- look at the "relations" (inline,group,select) and how to unify this
This will drastically reduce the logic for integrators to write TCA and makes it easier in Core code to distinguish between the types (e.g. FormEngine and DataHandler).
Let's then see what is left of the "eval" list and all options can be streamlined.
I suggest to drop "eval" = domainName.
Updated by Benjamin Kott over 2 years ago
Please consider:
- type=url
- type=telephone
- type=color
- type=currency
- type=toggle
- type=percent
- type=locale
- type=money
- type=range
- type=week
- type=code
Updated by Benni Mack over 2 years ago
Benjamin Kott wrote in #note-1:
Please consider:
- type=url
ACK
- type=telephone
How to validate?
- type=color
ACK
- type=currency
How to deal with "." and separators and what should be different here to normal "double" evals?
- type=toggle
Can you explain this?
- type=percent
Is this number min=0 and max=100?
- type=locale
How should this look like?
- type=money
What is this?
- type=range
Can you give an example?
- type=week
Is this a number between 1 - 53?
- type=code
Can you explain this?