-
Notifications
You must be signed in to change notification settings - Fork 638
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
[4.4.5]: Using "Field Limit" after creating new "Plain Text Field" -> Database Exception #12954
Comments
Here's a video Bildschirmaufnahme.2023-03-22.um.15.48.20.mov |
That error occurs when the Plain Text fields will choose their column type automatically by default, based on the Field Limit setting. Plain Text fields do let you choose their column types, via their “Column Type” settings under “Advanced”. So as a temporary workaround you could go through and force some of your Plain Text fields to use We are working on a long-term solution for Craft 5. I’ll keep this open and follow-up when that’s done. |
Ok...if I understand correctly, the problem is the length of the If so, sounds better to use a |
Just a suggestion / idea: The dropdown field (e.g.) has no setting "Advanced" and is a In my case I use this field type mostly (99%) for setting classes and if not, this field is way too big for me. Having the option to switch this field to |
Right :)
It may make sense for Dropdown (and Radio Buttons) fields to use dynamically-sized columns though, e.g. |
@brandonkelly Thank you so much, to put this topic on the roadmap!
May I suggest to think about this for the checkbox field, too? |
Checkboxes and Multi-select fields already do use smart column sizes, based on how many bytes would be needed if all options were selected. |
Made the Dropdown/Radio Buttons changes for 4.5 (#13025) 🎉 |
GRRRRREEEEAT! 🎉 And thank you so much!🍻 |
Craft 4.5.0 is out now with those changes. |
What happened?
Description
Got a Database Exception when using "Field Limit" of a just created and saved new "Plain Text Field".
Steps to reproduce
Expected behavior
no Database Exception
Actual behavior
Database Exception – yii_db_Exception.pdf
Can send you config.json and DB, if needed.
Craft CMS version
Craft Pro 4.4.5
PHP version
8.1.13
Operating system and version
Linux 5.15.49-linuxkit (DDEV)
Database type and version
MySQL 5.7.38
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: