Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option max is used to regulate the size or even type of a text field #291

Open
nhovratov opened this issue Nov 12, 2024 · 0 comments
Open
Labels
Discussion Gather different opinions on a topic

Comments

@nhovratov
Copy link
Contributor

As Content Blocks adds everything into overrideChildTca, a change in max won't be reflected in the db schema. But exluding it from there is bad as well, as sometimes you want to override fields and set an alternative max value (e.g. shrink the allowed size, but keep the original size for other elements which use the field).

A proper solution from Core would be to introduce an option in parallel to max. E.g. dbType => text or dbLength => 200

@nhovratov nhovratov added the Discussion Gather different opinions on a topic label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Gather different opinions on a topic
Projects
None yet
Development

No branches or pull requests

1 participant