I would like to be able to include more text then just 255 characters in the field. Is there any reason for this limit, or could we couldn't change the type to a text like:

    case 'database columns':
...
      $columns['value'] = array(
        'type' => 'text',
        'not null' => FALSE,
        'sortable' => TRUE,
        'views' => TRUE,
      );

We would have to change the validation and the form as well.

CommentFileSizeAuthor
#1 dyntextfield_more-255.patch1.12 KBchup

Comments

chup’s picture

Title: max length of 255 for text field is too short » max length of 255 for text field is too short [patch]
Status: Active » Needs review
StatusFileSize
new1.12 KB

I fixed this issue for textarea type: now type of DB field is TEXT instead of VARCHAR.

This settings applies only for new fields, not for existing.