You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check if we can make the default getCMSFields() loop through all fields and set the max length of text fields to the max length of the DB field
<@simon_w|air> greseky, $field = $this->dbObject('Field'); if ($field instanceof Varchar) $textField->setMaxLength($field->getSize())
use case: a field of type Varchar usually has a max length of 50, which for example can result in a cut of title after saving and confusing the CMS user
The text was updated successfully, but these errors were encountered:
check if we can make the default getCMSFields() loop through all fields and set the max length of text fields to the max length of the DB field
use case: a field of type Varchar usually has a max length of 50, which for example can result in a cut of title after saving and confusing the CMS user
The text was updated successfully, but these errors were encountered: