#96997Add more types for TCA columns
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Subtasks 10
- Task #96983Separate internal_type=folder into own type
- Feature #97013Introduce "email" type
- Task #97035Use `required` in TCA in favor of eval lists
- Feature #97104Introduce "password" type
- Feature #97159Introduce TCA type "link"
- Task #97193Introduce TCA type="number"
- Feature #97232Introduce TCA type="datetime"
- Feature #97271New TCA type "color"
- Task #97304Unify new FormEngine element classes
- Task #97384Use TCA option "nullable" instead of eval=null